[Python-checkins] cpython (2.7): another benefit of this change

benjamin.peterson python-checkins at python.org
Fri Jun 3 23:17:42 CEST 2011


http://hg.python.org/cpython/rev/42fd2d1fc58d
changeset: 70623:42fd2d1fc58d
branch: 2.7
user: Benjamin Peterson <benjamin at python.org>
date: Fri Jun 03 16:17:22 2011 -0500
summary:
 another benefit of this change
files:
 Misc/NEWS | 5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,8 +26,9 @@
 "maximum recursion depth" RuntimeError exception.
 (patch by Ronald Oussoren)
 
-- Correct lookup of __dir__ on objects. Among other things, this causes errors
- besides AttributeError found on lookup to be propagated.
+- Correct lookup of __dir__ on objects. This allows old-style classes to have
+ __dir__. It also causes errors besides AttributeError found on lookup to be
+ propagated.
 
 - Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
 clear the end-of-file indicator after CTRL+d.
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /