[issue11709] help-method crashes if sys.stdin is None
Benjamin Peterson
report at bugs.python.org
Sun Jun 8 01:07:34 CEST 2014
Benjamin Peterson added the comment:
Unfortunately, the test doesn't fail without the fix in, probably because the pager() function replaces itself in the module and thus can only be called once. It might make more sense to just directly test the getpager function with sys.stdin = None.
----------
nosy: +benjamin.peterson
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11709>
_______________________________________
More information about the Python-bugs-list
mailing list