This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients roger.serwy, terry.reedy
Date 2012-10-16.09:54:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350381263.29.0.0206915121964.issue16103@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, the first part of my post was about how it worked in regular interactive window: prints text, then prompt, then blinking underline cursor.

Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32 -- Win7 Professional, with all MS patches.

Are you running the apr 10 release or something compiled later, with the readline stub replaced?

Problem manifests in raw_input(): get same behavior of print prompt then crash when should display input cursor.

>>> raw_input('xyz')  # IDLE still
xyz
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    raw_input('xyz')
UnsupportedOperation: readline

Problem really is sys.stdin.readline(), which is the dummy stub I quoted in first message.

>>> sys.stdin.readline()

Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    sys.stdin.readline()
UnsupportedOperation: readline
History
Date User Action Args
2012-10-16 09:54:23terry.reedysetrecipients: + terry.reedy, roger.serwy
2012-10-16 09:54:23terry.reedysetmessageid: <1350381263.29.0.0206915121964.issue16103@psf.upfronthosting.co.za>
2012-10-16 09:54:23terry.reedylinkissue16103 messages
2012-10-16 09:54:22terry.reedycreate