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 CliffM
Recipients CliffM, ethan.furman
Date 2013-10-14.22:47:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381790821.01.0.959200663601.issue19263@psf.upfronthosting.co.za>
In-reply-to
Content
Is the assignment __objclass__ = enum_class  in enum.py(149) needed ?

I cannot find any other reference to it (even Google) and it seems that __class__ is already set to enum_class :


enum_member.__objclass__ = enum_class     < not sure what this is doing >

I have attached a patch that forces the assignment, but would rather understand what is intended here -- and test for that.
History
Date User Action Args
2013-10-14 22:47:01CliffMsetrecipients: + CliffM, ethan.furman
2013-10-14 22:47:01CliffMsetmessageid: <1381790821.01.0.959200663601.issue19263@psf.upfronthosting.co.za>
2013-10-14 22:47:00CliffMlinkissue19263 messages
2013-10-14 22:47:00CliffMcreate