]> granicus.if.org Git - python/commit
IDLE -- Restrict shell prompt manipulaton to the shell. (GH-4143) (#4155)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 28 Oct 2017 01:39:37 +0000 (18:39 -0700)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 28 Oct 2017 01:39:37 +0000 (21:39 -0400)
commiteb5aa3624eef693a5afa5a347784d4e294d8ea41
tree890724179f650286f6c678a9fb09cee5c9865f69
parent6a2957de08e0c2d73f3124d12874b408cda4633d
IDLE -- Restrict shell prompt manipulaton to the shell. (GH-4143) (#4155)

Editor and output windows only see an empty last prompt line.
This simplifies the code and fixes a minor bug when newline is inserted.
Sys.ps1, if present, is read on Shell start-up, but is not set or changed.
(cherry picked from commit e86172d63af5827a3c2b55b80351cb38a26190eb)
Lib/idlelib/editor.py
Lib/idlelib/pyshell.py
Misc/NEWS.d/next/IDLE/2017-10-26-20-20-19.bpo-31858.VuSA_e.rst [new file with mode: 0644]