Altering sys.stdin
Andrew Berg
bahamutzero8825 at gmail.com
Sat Feb 23 08:23:54 EST 2013
On 2013.02.23 07:00, Draic Kin wrote:
> Intepreter actually freezes when an object without
> encoding attribute is assigned to sys.stdin. Why is that? I that a
> correct behavior? Is there any workaround to alter input object for
> interactive console?
If you're going to replace something, the replacement needs to at least
quack like the original...
--
CPython 3.3.0 | Windows NT 6.2.9200 / FreeBSD 9.1
More information about the Python-list
mailing list