1.1 --- a/resolving.py Thu Mar 30 19:41:24 2017 +0200
1.2 +++ b/resolving.py Fri Mar 31 00:17:01 2017 +0200
1.3 @@ -431,7 +431,7 @@
1.4
1.5 # Object resolution.
1.6
1.7 - def get_resolved_object(self, path):
1.8 + def get_resolved_object(self, path, defer=False):
1.9
1.10 """
1.11 Get the details of an object with the given 'path' within this module.
1.12 @@ -442,7 +442,7 @@
1.13
1.14 if self.objects.has_key(path):
1.15 ref = self.objects[path]
1.16 - if ref.has_kind("<depends>"):
1.17 + if not defer and ref.has_kind("<depends>"):
1.18 return None
1.19 else:
1.20 return ref