diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-03-19 02:31:06 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-03-19 02:31:06 -0400 |
commit | 9929bc543a014f3c7f764d79a614fc8a9751d7ce (patch) | |
tree | 52691986335069ed61c500bfb42f96de8e140a8d /Misc/NEWS | |
parent | a846f5ace80977f922e8295441afc668910fc894 (diff) | |
download | cpython-git-9929bc543a014f3c7f764d79a614fc8a9751d7ce.tar.gz |
#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/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -233,6 +233,9 @@ Core and Builtins Library ------- +- Issue #17476: Fixed regression relative to Python2 in undocumented pydoc + 'allmethods'; it was missing unbound methods on the class. + - Issue #16389: Fixed a performance regression relative to Python 3.1 in the caching of compiled regular expressions. |