[New-bugs-announce] [issue17476] Pydoc allmethods does not return all methods

Matt Bachmann report at bugs.python.org
Tue Mar 19 05:24:08 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17476>
_______________________________________


More information about the New-bugs-announce mailing list