]> granicus.if.org Git - python/commit
IDLE -- Restrict shell prompt manipulaton to the shell. (#4143)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 28 Oct 2017 00:26:12 +0000 (20:26 -0400)
committerGitHub <noreply@github.com>
Sat, 28 Oct 2017 00:26:12 +0000 (20:26 -0400)
commite86172d63af5827a3c2b55b80351cb38a26190eb
treed8532f57ab6f3fe11a045e5799cd1433a14e3552
parented6554c487fb2403bc88be6deee611c7a4171d33
IDLE -- Restrict shell prompt manipulaton to the shell. (#4143)

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.
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]