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

Dmitriy Gorbachev report at bugs.python.org
Wed Jul 6 02:19:47 CEST 2011


Dmitriy Gorbachev <dgorbachev at yahoo.com> 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 '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 <report at bugs.python.org>
To: dgorbachev at yahoo.com
Sent: Sun, July 3, 2011 4:08:02 PM
Subject: [issue12482] input() not working correctly on Mac OS X

Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

You are certainly using Python 2 with code designed for Python 3...
Can you check?

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12482>
_______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12482>
_______________________________________


More information about the Python-bugs-list mailing list