Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39666

Re: Altering sys.stdin

Date 2013-02-23 07:23 -0600
From Andrew Berg <bahamutzero8825@gmail.com>
Subject Re: Altering sys.stdin
References <CACvLUakm7c3bCY+mF0ePJ86ACRCTOd7pN_ztqynD3aNNcE+Aag@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2341.1361626274.2939.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Altering sys.stdin Andrew Berg <bahamutzero8825@gmail.com> - 2013-02-23 07:23 -0600

csiph-web