Fix an mro resolution issue.

This commit is contained in:
Dave Halter committed 2015-02-23 19:04:35 +01:00
1 parent a91e240c8b
commit 4f2d4992da
3 files changed
+47 -9

No files matched your search

-2
View File
@@ -174,7 +174,6 @@ class ParserNode(object):
Closes the current parser node. This means that after this no further
nodes should be added anymore.
"""
#print('CLOSE NODE', id(self), self.parent, self._node_children)
# We only need to replace the dict if multiple dictionaries are used:
if self._node_children:
dcts = [n.parser.module.names_dict for n in self._node_children]
@@ -398,7 +397,6 @@ class FastParser(use_metaclass(CachedFastParser)):
debug.dbg('While parsing %s, line %s slowed down the fast parser.',
self.module_path, line_offset + 1)
print(line_offset, repr(code_part))
line_offset = next_line_offset
start += len(code_part)