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 assumed the implemented behavior was 
correct.

Attached is a patch that ads in an updated version of that test with a fix to 
the bug. The method updated is only used in that one place as is indicated as 
private. So it only gets in classes. I went ahead and updated the param to 
reflect this.

----------
components: Library (Lib)
files: pydoc_tests_v3.patch
keywords: patch
messages: 184590
nosy: Matt.Bachmann, r.david.murray
priority: normal
severity: normal
status: open
title: Pydoc allmethods does not return all methods
versions: Python 3.5
Added file: http://bugs.python.org/file29472/pydoc_tests_v3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17476>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to