Roundup Robot added the comment:
New changeset 0a9b42de49d5 by R David Murray in branch '3.2':
#17476: make allmethods actually return all methods.
http://hg.python.org/cpython/rev/0a9b42de49d5
New changeset 7127fbc363bb by R David Murray in branch '3.3':
#17476: make allmethods actually return
R. David Murray added the comment:
Thanks, Matt.
I figured out a way to make the test *somewhat* less fragile.
Oh, and that helper method really is operating on an object, not a class, so I
changed the paramter name back (and added inspect.builtin...which Python2
didn't have, but I figure as
New submission from Matt Bachmann:
Somewhere between python 2.7 and now the definition of a method changed causing
this helper method in pydoc to break. This was discovered in
http://bugs.python.org/issue17464 by r.david.murray when he found it curious
that a test I wrote was passing. I had
R. David Murray added the comment:
Looks like you uploaded the wrong patch file.
Additional note: while pydoc itself does not use the allmethods method (which
is doubtless why the bug wasn't found previously), I found through google that
numpy at least uses it. So it does need to be fixed.
Changes by Matt Bachmann bachmann.m...@gmail.com:
Removed file: http://bugs.python.org/file29472/pydoc_tests_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17476
___
Matt Bachmann added the comment:
Yes! Sorry.
--
Added file: http://bugs.python.org/file29474/fix_is_some_method.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17476
___