diff options
author | Georg Brandl <georg@python.org> | 2007-03-10 22:13:27 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-03-10 22:13:27 (GMT) |
commit | e32b4224d0e5a5a2faa7398211ad859e8a4cb0c8 (patch) | |
tree | 89c1a560b9940d1c8c68bf451916c9143fe1a0b5 /Misc/NEWS | |
parent | af334387d12e12677460b4f558ed0a670fdfcebf (diff) | |
download | cpython-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/NEWS')
-rw-r--r-- | Misc/NEWS | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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. |