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 ncoghlan
Recipients arigo, eli.bendersky, eric.snow, ethan.furman, ncoghlan, ronaldoussoren
Date 2013-10-13.15:03:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381676614.58.0.43661191067.issue16938@psf.upfronthosting.co.za>
In-reply-to
Content
That means __objclass__ can have its meaning broadened to say "this is where this particular instance of this kind of object was defined", and that and __class__ are just coincidentally the same for Enum objects.

We should *not* need to have any Enum specific code in the inspect module, and the current code that tries to find the home class has Enum specific assumptions.
History
Date User Action Args
2013-10-13 15:03:34ncoghlansetrecipients: + ncoghlan, arigo, ronaldoussoren, eli.bendersky, ethan.furman, eric.snow
2013-10-13 15:03:34ncoghlansetmessageid: <1381676614.58.0.43661191067.issue16938@psf.upfronthosting.co.za>
2013-10-13 15:03:34ncoghlanlinkissue16938 messages
2013-10-13 15:03:34ncoghlancreate