commit | 82b00c1d307f7fb39f388760b9ccd519fe3ef63b | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue May 24 11:09:06 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Tue May 24 11:09:06 2011 -0500 |
tree | f164c4074f1093713a372ef6066fca576f68c935 | |
parent | 9bcfacd4fcf64ee7f6e0d05b5d0894c10cd43fc0 [diff] [blame] |
move specialized dir implementations into __dir__ methods (closes #12166)
diff --git a/Misc/NEWS b/Misc/NEWS index 967e2ef..47b9c32 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -10,6 +10,9 @@ Core and Builtins ----------------- +- Issue #12166: Move implementations of dir() specialized for various types into + the __dir__() methods of those types. + - Correct lookup of __dir__ on objects. Among other things, this causes errors besides AttributeError found on lookup to be propagated.