Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3901880
By: fabioz

Actually I'd consider it more of a python bug, because it fails to remove the
last '\r' if the console gives you a '\n\r' after entering the text in
the console.

Also, checking the docs for raw_input, they say that it only handles the '\n',
so, it is left to you (the coder) handle the '\r'...

I believe they were not expecting this to happen (I also don't think the '\n\r'
is standard (but thinking better, what is standard in a console... just having
a \n, or using the system default terminator as does Eclipse? -- which in 
windows
is \n\r).

I think that in linux the default is just the '\n' (so, this problem only 
happens
in windows, where the default line terminator is '\n\r').

You can try submitting a bug to Eclipse and to python.org and see who'll fix
it (that's not really in the scope of pydev).

Cheers,

Fabio

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to