[Pydev-users] [pydev - Users] RE: Decimal conversion problem on Windows
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2006-09-06 16:29:21
|
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 |