Re: py32 on windows - input() includes trailing \r

2011-04-20 Thread Frank Millman
"Peter Otten" <__pete...@web.de> wrote in message news:iomla6$p8f$1...@dough.gmane.org... Frank Millman wrote: On linux, python 3.2 - x = input() xyz len(x) 3 x 'xyz' on windows, python 3.2 - x = input() xyz len(x) 4 x 'xyz\r' Is this expected behaviour? No, that's a bug: h

Re: py32 on windows - input() includes trailing \r

2011-04-20 Thread Peter Otten
Frank Millman wrote: > On linux, python 3.2 - > x = input() > xyz len(x) > 3 x > 'xyz' > > on windows, python 3.2 - > x = input() > xyz len(x) > 4 x > 'xyz\r' > > Is this expected behaviour? No, that's a bug: http://bugs.python.org/issue11272 IMO it's severe e

py32 on windows - input() includes trailing \r

2011-04-20 Thread Frank Millman
Hi all On linux, python 3.2 - x = input() xyz len(x) 3 x 'xyz' on windows, python 3.2 - x = input() xyz len(x) 4 x 'xyz\r' Is this expected behaviour? Frank Millman -- http://mail.python.org/mailman/listinfo/python-list