summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-03-19 06:32:35 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-03-19 06:32:35 (GMT)
commit52dfc74080a8bc6949ca713d862c9324ac62ca5c (patch)
tree6ec1a18089f33775ef8fd6eb454eac04f6e742b5 /Misc
parent6227c6952e5b9ab4c41f027b5e971b6812e24efa (diff)
parent9929bc543a014f3c7f764d79a614fc8a9751d7ce (diff)
downloadcpython-52dfc74080a8bc6949ca713d862c9324ac62ca5c.zip
cpython-52dfc74080a8bc6949ca713d862c9324ac62ca5c.tar.gz
cpython-52dfc74080a8bc6949ca713d862c9324ac62ca5c.tar.bz2
#17476: make allmethods actually return all methods.
This fixes a regression relative to Python2. (In 2, methods on a class were unbound methods and matched the inspect queries being done, in 3 they are just functions and so were missed). This is an undocumented function that pydoc itself does not use, but I found that numpy at least uses it in its documentation generator. Original patch by Matt Bachmann.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 725c723..95994ff 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -193,7 +193,10 @@ Core and Builtins
Library
-------
-Issue #16880: Do not assume _imp.load_dynamic() is defined in the imp module.
+- Issue #17476: Fixed regression relative to Python2 in undocumented pydoc
+ 'allmethods'; it was missing unbound methods on the class.
+
+- Issue #16880: Do not assume _imp.load_dynamic() is defined in the imp module.
- Issue #16389: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.