Message197855
| 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. |
|