Re: [Python-Dev] Help to fix this bug http://bugs.python.org/issue15068

2012-06-19 Thread Serhiy Storchaka
On 19.06.12 15:13, Antoine Pitrou wrote: sys.stdin <_io.TextIOWrapper name='' mode='r' encoding='UTF-8'> So it's a TextIOWrapper from the _io module (which is really the implementation of the io module). You'll find its source in Modules/_io. TextIOWrapper objects are defined in Modules/_io/tex

Re: [Python-Dev] Help to fix this bug http://bugs.python.org/issue15068

2012-06-19 Thread Antoine Pitrou
Hi, On Tue, 19 Jun 2012 04:39:30 -0700 (PDT) gmspro wrote: > Hi, > > I'm working on this bug to fix it. http://bugs.python.org/issue15068 I'm not sure why you think this is fixable, given the comments on the tracker. What is your plan? > >>> from sys import stdin > >>> str=stdin.read() > hell

Re: [Python-Dev] Help to fix this bug http://bugs.python.org/issue15068

2012-06-19 Thread Eli Bendersky
It depends on the Python version. In 3.3, for example, look into Modules/_io/fileio.c Eli On Tue, Jun 19, 2012 at 2:39 PM, gmspro wrote: > Hi, > > I'm working on this bug to fix it. http://bugs.python.org/issue15068 > > >>> from sys import stdin > >>> str=stdin.read() > hello > hello world >