Re: Eclipse Carriage Return Workaround

2009-12-19 Thread Fabio Zadrozny
On Fri, Dec 18, 2009 at 1:38 PM, Steve Holden st...@holdenweb.com wrote: I've written a Python 3 course that uses an Eclipse-based teaching system. The school is telling me that their version of Eclipse/pydev appears to have an input() function that appends a carriage return character to the

Re: Eclipse Carriage Return Workaround

2009-12-19 Thread Fabio Zadrozny
On Sat, Dec 19, 2009 at 8:36 AM, Fabio Zadrozny fabi...@gmail.com wrote: On Fri, Dec 18, 2009 at 1:38 PM, Steve Holden st...@holdenweb.com wrote: I've written a Python 3 course that uses an Eclipse-based teaching system. The school is telling me that their version of Eclipse/pydev appears to

Eclipse Carriage Return Workaround

2009-12-18 Thread Steve Holden
I've written a Python 3 course that uses an Eclipse-based teaching system. The school is telling me that their version of Eclipse/pydev appears to have an input() function that appends a carriage return character to the user's input. This makes several things go screwy, as it's definitely not the

Re: Eclipse Carriage Return Workaround

2009-12-18 Thread Gregory Ewing
Steve Holden wrote: Can anyone think of a simple way work around this issue by overriding __builtins__.input() with a function that calls input() and then returns an rstrip()ped version of the input string? I though of setting a PYTHONSTARTUP environment variable, but that only affects