This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients ethan.furman
Date 2013-04-27.08:25:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <517B8B99.3030602@stoneleaf.us>
In-reply-to <1367050201.95.0.307419620832.issue17853@psf.upfronthosting.co.za>
Content
One more data point to truly demonstrate that something is wrong:

--------------------------------------------
--> def test():
...   class Season(Enum):
...     print(locals())
...     Season = locals()['Season']
...     print(locals())
...
--> test()
{'Season': <class 'aenum.Season'>, '__module__': '__main__', '__locals__': {...}}
{'Season': <class 'aenum.Season'>, '__module__': '__main__', '__locals__': {...}}
--------------------------------------------

Notice the class name space *did not change in any way* before and after setting 'Season' manually.
History
Date User Action Args
2013-04-27 08:25:59ethan.furmansetrecipients: + ethan.furman
2013-04-27 08:25:59ethan.furmanlinkissue17853 messages
2013-04-27 08:25:59ethan.furmancreate