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

2011-07-05 Thread Dmitriy Gorbachev
;bob' only and complains about bob. I will definitely check the usage of input() with bob in Python 3 when I install it. Best regards Dmitry - Original Message From: Amaury Forgeot d'Arc To: dgorbac...@yahoo.com Sent: Sun, July 3, 2011 4:08:02 PM Subject: [issue12482] input()

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

2011-07-05 Thread Dmitriy Gorbachev
- Original Message From: Ned Deily To: dgorbac...@yahoo.com Sent: Sun, July 3, 2011 4:18:35 PM Subject: [issue12482] input() not working correctly on Mac OS X Ned Deily added the comment: The test case you've provide is working as expected but the code doesn't make a lot o

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

2011-07-03 Thread Ned Deily
Ned Deily added the comment: The test case you've provide is working as expected but the code doesn't make a lot of sense as provided. The function loadDbase sets sys.stdin to a disk file but never sets it back again. If you run this in an interactive interpreter on any Unix-like system and

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

2011-07-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: You are certainly using Python 2 with code designed for Python 3... Can you check? -- nosy: +amaury.forgeotdarc ___ Python tracker ___ __

[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 Persistently there is