[issue1700304] pydoc.help samples sys.stdout and sys.stdin at import time

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Duplicate of #8198. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Importing pydoc and overwriting sys.stdout, causes one char to be sent to the console when calling help() ___

[issue1700304] pydoc.help samples sys.stdout and sys.stdin at import time

2010-03-30 Thread Daniel Diniz
Daniel Diniz added the comment: >From #8198: I see a solution by turning Helper.output into a property, but it smells of over-engineering :) Passing all output to pagers should work too, unless we need Helper.output as a sort of sys.stderr. -- keywords: +easy nosy: +ajaksu2

[issue1700304] pydoc.help samples sys.stdout and sys.stdin at import time

2010-03-21 Thread François Granade
François Granade added the comment: issue8198 is related. Re. 1700304, it's easy to work around by writing from pydoc import help import sys help.output = sys.stdout help.input = sys.stdin -- nosy: +farialima ___ Python tracker

[issue1700304] pydoc.help samples sys.stdout and sys.stdin at import time

2009-03-30 Thread Daniel Diniz
Changes by Daniel Diniz : -- priority: normal -> low stage: -> test needed type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.4 ___ Python tracker ___ _