2013-06-29 | Paul Boddie | raw annotate files changeset graph | Separated handling of getattr attribute usage from normal program unit usage, tracking only newly introduced program constants when evaluating the effects of getattr usage, and thus limiting the amount of work done identifying new program units to investigate on each occasion. | syspython-as-target |
1 #!/usr/bin/env python 2 3 import changed2 # access the package root 4 5 def change(): 6 7 "Change x in the partially imported module." 8 9 changed2.x = 456 10 11 change() 12 13 # Attempt to confuse the identity of changed2 for the function. 14 15 changed2 = None 16 17 # vim: tabstop=4 expandtab shiftwidth=4