]> granicus.if.org Git - python/commit
M EditorWindow.py
authorKurt B. Kaiser <kbk@shore.net>
Sun, 29 Dec 2002 22:03:38 +0000 (22:03 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Sun, 29 Dec 2002 22:03:38 +0000 (22:03 +0000)
commit4ada7ad3bc9ab269189ed20e57943d9721664deb
tree327c3d149a6902106b4d476284c854d439693d69
parentaf72d5221f6c826c05594cb1877e8b6d6e20d12b
M EditorWindow.py
M PyShell.py

1. PyShell Rev 1.39, EditorWindow Rev 1.37 fix was not handling a
   multiline prompt.
2. The same fix introduced a bug where hitting <enter> at a previous
   prompt-only line would copy the prompt to the iomark.
3. Move the setting of sys.ps1 earlier, into PyShell.main(), to allow
   this code to work before a shell is started up.
4. If cursor is on the input line in the prompt, and you hit <enter>,
   process the line instead of complaining.
5. If line has no stdin range (this includes the last line before shell
   restart) strip any prompt before recalling.
Lib/idlelib/EditorWindow.py
Lib/idlelib/PyShell.py