Daniel Rohlfing added the comment:
the correct snippet is:
> fd = io.open(sys.stdout.fileno(), 'wb')
> fd.close()
> sys.stdout.write("now writing on stdout will cause a crash")
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19050>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com