]> granicus.if.org Git - python/commit
Backport from Py3k branch:
authorGeorg Brandl <georg@python.org>
Mon, 12 Mar 2007 13:17:36 +0000 (13:17 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 12 Mar 2007 13:17:36 +0000 (13:17 +0000)
commit871f1bc6011c1644b1be2e87518c435e7fb552ad
treed318b919f33e98d18b0faa4289a9cfe54e555a6e
parent2681beb23e3a8d9d905d99f9e67bb0389264f44f
Backport from Py3k branch:

Patch #1591665: implement the __dir__() special function lookup in PyObject_Dir.

Had to change a few bits of the patch because classobjs and __methods__ are still
in Py2.6.
Doc/lib/libfuncs.tex
Lib/test/test_builtin.py
Misc/NEWS
Objects/object.c
Python/bltinmodule.c