summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-10 22:13:27 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-10 22:13:27 (GMT)
commite32b4224d0e5a5a2faa7398211ad859e8a4cb0c8 (patch)
tree89c1a560b9940d1c8c68bf451916c9143fe1a0b5 /Misc
parentaf334387d12e12677460b4f558ed0a670fdfcebf (diff)
downloadcpython-e32b4224d0e5a5a2faa7398211ad859e8a4cb0c8.zip
cpython-e32b4224d0e5a5a2faa7398211ad859e8a4cb0c8.tar.gz
cpython-e32b4224d0e5a5a2faa7398211ad859e8a4cb0c8.tar.bz2
Patch #1591665: implement the __dir__() special function lookup in PyObject_Dir.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS10
1 files changed, 7 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e445d3e..7791a45 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -28,11 +28,15 @@ TO DO
Core and Builtins
-----------------
-- Removing indexing/slicing on BaseException.
+- The dir() function has been extended to call the __dir__() method on
+ its argument, if it exists. If not, it will work like before. This allows
+ customizing the output of dir() in the presence of a __getattr__().
-- Remove the exceptions module, all the exceptions are already builtin.
+- Removed indexing/slicing on BaseException.
-- input() becomes raw_input(): the name input() now implements the
+- Removed the exceptions module, all the exceptions are already builtin.
+
+- input() became raw_input(): the name input() now implements the
functionality formerly known as raw_input(); the name raw_input()
is no longer defined.