2016-10-28 | Paul Boddie | raw files shortlog changelog graph | Do not short-circuit dependency registration for built-in names, even if they have already been made available by another module. | |
inspector.py (file) |
1.1 --- a/inspector.py Fri Oct 28 14:06:54 2016 +0200 1.2 +++ b/inspector.py Fri Oct 28 22:50:55 2016 +0200 1.3 @@ -145,9 +145,9 @@ 1.4 self.set_name_reference(key, ref) 1.5 continue 1.6 1.7 - # Find global or known built-in definitions. 1.8 + # Find global. 1.9 1.10 - ref = self.get_resolved_global_or_builtin(name) 1.11 + ref = self.get_global(name) 1.12 if ref: 1.13 self.set_name_reference(key, ref) 1.14 continue