Message230618
| Author |
eryksun |
| Recipients |
Arfrever, amaury.forgeotdarc, benjamin.peterson, docs@python, eryksun, georg.brandl, pitrou, techdragon |
| Date |
2014年11月04日.12:30:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1415104204.05.0.191006124233.issue22790@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
__doc__ and __module__ are also getsets (to support built-in types), but it's nothing to worry about since the attributes can't be deleted.
I think the most value added here is for listing __mro__ and the others that Georg mentioned. Should the following attributes be blacklisted from dir() as CPython implementation details?
__base__
__flags__
__basicsize__
__itemsize__
__dictoffset__
__weakrefoffset__
It's not as if people will miss what they never had. |
|