Message173022
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 |
|
Date |
User |
Action |
Args |
2012-10-16 09:54:23 | terry.reedy | set | recipients:
+ terry.reedy, roger.serwy |
2012-10-16 09:54:23 | terry.reedy | set | messageid: <1350381263.29.0.0206915121964.issue16103@psf.upfronthosting.co.za> |
2012-10-16 09:54:23 | terry.reedy | link | issue16103 messages |
2012-10-16 09:54:22 | terry.reedy | create | |
|