1.1 --- a/micropython/__init__.py Sun Jul 01 23:52:59 2012 +0200
1.2 +++ b/micropython/__init__.py Mon Jul 02 00:58:10 2012 +0200
1.3 @@ -534,8 +534,15 @@
1.4 self.name_references[from_name] = set()
1.5
1.6 attrnames = ObjectSet([name])
1.7 +
1.8 + # Note the assignment in association with the given attribute name.
1.9 +
1.10 if value is not None:
1.11 attrnames[name].add(value)
1.12 +
1.13 + # Only a single set of usage is recorded here, but other situations
1.14 + # may involve multiple usage observations.
1.15 +
1.16 usage = (attrnames,)
1.17 self.name_references[from_name].add((None, None, usage))
1.18