Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

The code fails precisely when checking that sys.stdin is a valid terminal. See 
the attached patch for a fix.

Out of curiosity, why did you set sys.stdin to None?

----------
keywords: +patch
nosy: +amaury.forgeotdarc
stage:  -> patch review
Added file: http://bugs.python.org/file21451/no-stdin.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11709>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to