Staging
v0.8.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
Raw File
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
.bzrignore
ยด.purify
autom4te.cache
config.log
config.cache
config.status
config.status.lineno
db_home
Makefile
buildno
python
build
Makefile.pre
platform
pybuilddir.txt
pyconfig.h
libpython*.a
libpython*.so*
python.exe
python-gdb.py
reflog.txt
tags
TAGS
.gdb_history
Doc/tools/sphinx
Doc/tools/jinja
Doc/tools/jinja2
Doc/tools/pygments
Doc/tools/docutils
Misc/python.pc
Modules/Setup
Modules/Setup.config
Modules/Setup.local
Modules/config.c
Modules/ld_so_aix
Parser/pgen
Lib/test/data/*
Lib/lib2to3/Grammar*.pickle
Lib/lib2to3/PatternGrammar*.pickle
__pycache__
.coverage
coverage/*
htmlcov/*
back to top