STINNER Victor victor.stin...@haypocalc.com added the comment:
so there really was a bug.
If fixed in 3.2.1, this issue could be closed.
This issue is a duplicate of #11272: upgrade to Python 3.2.1.
--
resolution: - duplicate
status: open - closed
Terry J. Reedy tjre...@udel.edu added the comment:
WinXP, 3.2.0
type(sys.stdin)
class 'idlelib.rpc.RPCProxy'
sys.stdin.readline()
a
'a\n'
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12337
R. David Murray rdmur...@bitdance.com added the comment:
I'm not sure what the point of your example is, Terry. Is it not fixed in
3.2.1?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12337
Terry J. Reedy tjre...@udel.edu added the comment:
That, like Antoine, I also could not reproduce, even in 3.2.0, when running
under IDLE. However, with regular command line Python:
Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)]
import sys
sys.stdin.readline()
a
Antoine Pitrou pit...@free.fr added the comment:
I can't reproduce. Victor?
Z:\defaultPCbuild\amd64\python_d.exe
Python 3.3a0 (default, Jun 8 2011, 17:49:13) [MSC v.1500 64 bit (AMD64)] on
win32
Type help, copyright, credits or license for more information.
import sys
sys.stdin.readline()
STINNER Victor victor.stin...@haypocalc.com added the comment:
I think that this issue is a duplicate of the issue #11272: Python 3.2.1 has
been released recently and contains the fix. Can you try this version Fan?
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
Note: Python 3.2 has another regression related to the Windows console (issue
#11395), bug fixed in 3.2.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12337
New submission from Fan Decheng fandech...@gmail.com:
Since -u is made default and binary stdio implemented in 3.2, many of my
scripts cannot run directly in Python 3.2, because they expect \n from stdin,
but on Windows \r\n is got.
Since that binary stdio being default is necessary for