1.1 --- a/importer.py Wed Feb 01 16:49:51 2017 +0100
1.2 +++ b/importer.py Wed Feb 01 16:53:34 2017 +0100
1.3 @@ -33,6 +33,8 @@
1.4
1.5 "An import machine, searching for and loading modules."
1.6
1.7 + special_attributes = ("__args__", "__file__", "__fn__", "__name__", "__parent__")
1.8 +
1.9 def __init__(self, path, cache=None, verbose=False):
1.10
1.11 """
1.12 @@ -605,10 +607,6 @@
1.13 l.update(self.condense_dependency_entry(deps, d))
1.14 return l
1.15
1.16 - # NOTE: Consolidate this information in a common location.
1.17 -
1.18 - special_attributes = ("__args__", "__file__", "__fn__", "__name__", "__parent__")
1.19 -
1.20 def is_dynamic(self, ref):
1.21 return not ref or not ref.static() and not ref.is_constant_alias() and not ref.is_predefined_value()
1.22