[issue23883] __all__ lists are incomplete

Martin Panter report at bugs.python.org
Sat Jul 18 14:10:40 CEST 2015


Martin Panter added the comment:

That raiseExecptions thing looks like a typo to me. The code should probably be monkey patching the module variable, and restoring it after the test. Then you wouldn’t need to add your extra typoed version to the blacklist.

In the logging module, I reckon raiseExceptions (non-typoed) should actually be added to __all__. It is documented under Handler.handleError().

pickletools.OpcodeInfo: It is briefly mentioned as the type of the first item of genops(). I don’t have a strong opinion, but I tended to agree with your previous patch which added it to __all__.

threading.ThreadError: It is not documented, but it was already in __all__. I think it should be restored, in case someone’s code is relying on it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23883>
_______________________________________


More information about the Python-bugs-list mailing list