[issue12482] input() not working correctly on Mac OS X

2011-07-03 Thread Dmitriy Gorbachev
New submission from Dmitriy Gorbachev : I am learning Python by running exercises from "Programming Python", Mark Lutz on both Windows and Mac. While exercises run flawlessly on Windows, sometimes they do not run on Mac. In particular, in Chapter 1, Step 2: Storing Records Persiste

[issue12482] input() not working correctly on Mac OS X

2011-07-05 Thread Dmitriy Gorbachev
Dmitriy Gorbachev added the comment: Hello Ned Thank you very much for your time and for your advice where to post questions like mine. I apologise for my mistake: instead of input() there was raw_input() function in the book, which works as expected on all platforms. Best regards Dmitry

[issue12482] input() not working correctly on Mac OS X

2011-07-05 Thread Dmitriy Gorbachev
Dmitriy Gorbachev added the comment: Hi Amaury, Thank you very much for your email. Actually what happedded is that I mistakenly used input() function in place of raw_input() as it is in the book. raw_input correctly inputs bob and 'bob', while input() inputs correctly '