Staging
v0.5.1
https://github.com/python/cpython
Revision e03ea37a7bea48c46e6d96851f471db0f3c8e6e2 authored by Ethan Furman on 25 September 2013, 14:14:41 UTC, committed by Ethan Furman on 25 September 2013, 14:14:41 UTC
inspect.getmembers and inspect.classify_class_attrs now search the metaclass
mro for types.DynamicClassAttributes (what use to be called
enum._RouteClassAttributeToGetattr); in part this means that these two
functions no longer rely solely on dir().

Besides now returning more accurate information, these improvements also
allow a more helpful help() on Enum classes.
1 parent 7cba5fd
History
Tip revision: e03ea37a7bea48c46e6d96851f471db0f3c8e6e2 authored by Ethan Furman on 25 September 2013, 14:14:41 UTC
Close #19030: improvements to inspect and Enum.
Tip revision: e03ea37
File Mode Size
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 584 bytes
.gitignore -rw-r--r-- 960 bytes
.hgeol -rw-r--r-- 713 bytes
.hgignore -rw-r--r-- 1.2 KB
.hgtags -rw-r--r-- 5.6 KB
.hgtouch -rw-r--r-- 1.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 50.6 KB
README -rw-r--r-- 6.6 KB
config.guess -rwxr-xr-x 43.8 KB
config.sub -rwxr-xr-x 34.8 KB
configure -rwxr-xr-x 431.8 KB
configure.ac -rw-r--r-- 133.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 39.5 KB
setup.py -rw-r--r-- 94.4 KB

README

back to top