On Tue, Apr 23, 2013 at 9:06 AM, <jus...@zeusedit.com> wrote: > On Tuesday, April 23, 2013 12:29:57 AM UTC+10, nn wrote: > >> Maybe it is related to this bug? >> >> http://bugs.python.org/issue11272 > > I'm running Python 2.7.2 (on Windows) and that version doesn't appear to have > that bug: > > Python 2.7.2 (default, Apr 23 2013, 11:49:52) [MSC v.1500 32 bit (Intel)] > on win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> print(repr(input())) > "testing" > 'testing' > >>>
Careful there; go with raw_input() on Py2. And then it does happen. ChrisA -- http://mail.python.org/mailman/listinfo/python-list