# HG changeset patch # User Paul Boddie # Date 1372549931 -7200 # Node ID eaaa3147274e1ca99e288507264dfc8a6eb86640 # Parent e24c0f47c5f3947711b901505fa46f596082c504 Permit analysis of the getattr function itself, thus exposing _getattr. diff -r e24c0f47c5f3 -r eaaa3147274e micropython/__init__.py --- a/micropython/__init__.py Sat Jun 29 22:50:45 2013 +0200 +++ b/micropython/__init__.py Sun Jun 30 01:52:11 2013 +0200 @@ -523,7 +523,8 @@ if from_name == "__builtins__.getattr": if self.collecting_dynamic: self._collect_attributes_from_getattr(objtable) - return + else: + return # Get constant references.