[issue7163] IDLE suppresses sys.stdout.write() return value

Roger Serwy report at bugs.python.org
Tue Dec 13 01:57:24 CET 2011


Roger Serwy <roger.serwy at gmail.com> added the comment:

If you add "return len(s)" to PseudoFile::write in PyShell.py, then it will work. However, this approach may not be "the right thing to do."

----------
nosy: +serwy

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


More information about the Python-bugs-list mailing list