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 barry, eli.bendersky, ethan.furman, ncoghlan, pitrou, r.david.murray
Date 2013-09-16.01:31:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379295072.31.0.745183165389.issue19030@psf.upfronthosting.co.za>
In-reply-to
Content
R David Murray said:
>
>Special casing Enum in inspect has a code smell to it.

I agree, and I'm certainly open to other options.

The flow at this point is:

  help() --> inspect.classify_class_attrs --> dir() --> Enum.__dir__

Because inspect relies on dir and Enum's dir has been customized, inspect will fail to return the whole story.
History
Date User Action Args
2013-09-16 01:31:12ethan.furmansetrecipients: + ethan.furman, barry, ncoghlan, pitrou, r.david.murray, eli.bendersky
2013-09-16 01:31:12ethan.furmansetmessageid: <1379295072.31.0.745183165389.issue19030@psf.upfronthosting.co.za>
2013-09-16 01:31:12ethan.furmanlinkissue19030 messages
2013-09-16 01:31:12ethan.furmancreate