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

README

back to top