Commit eb5aa36
IDLE -- Restrict shell prompt manipulaton to the shell. (pythonGH-4143) (python#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 e86172d)1 parent 6a2957d commit eb5aa36
File tree
3 files changed
+19
-24
lines changed- Lib/idlelib
- Misc/NEWS.d/next/IDLE
3 files changed
+19
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
| |||
116 | 112 | | |
117 | 113 | | |
118 | 114 | | |
| 115 | + | |
| 116 | + | |
119 | 117 | | |
120 | 118 | | |
121 | 119 | | |
| |||
1213 | 1211 | | |
1214 | 1212 | | |
1215 | 1213 | | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
1220 | 1214 | | |
1221 | 1215 | | |
1222 | | - | |
| 1216 | + | |
1223 | 1217 | | |
1224 | 1218 | | |
1225 | 1219 | | |
| |||
1288 | 1282 | | |
1289 | 1283 | | |
1290 | 1284 | | |
1291 | | - | |
1292 | | - | |
| 1285 | + | |
1293 | 1286 | | |
1294 | 1287 | | |
1295 | 1288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
860 | | - | |
| 860 | + | |
861 | 861 | | |
862 | | - | |
863 | | - | |
| 862 | + | |
864 | 863 | | |
865 | 864 | | |
866 | 865 | | |
867 | | - | |
868 | | - | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
869 | 871 | | |
870 | 872 | | |
871 | 873 | | |
| |||
878 | 880 | | |
879 | 881 | | |
880 | 882 | | |
881 | | - | |
| 883 | + | |
882 | 884 | | |
883 | 885 | | |
884 | 886 | | |
| |||
951 | 953 | | |
952 | 954 | | |
953 | 955 | | |
954 | | - | |
| 956 | + | |
955 | 957 | | |
956 | 958 | | |
957 | 959 | | |
| |||
963 | 965 | | |
964 | 966 | | |
965 | 967 | | |
966 | | - | |
| 968 | + | |
967 | 969 | | |
968 | 970 | | |
969 | 971 | | |
| |||
1248 | 1250 | | |
1249 | 1251 | | |
1250 | 1252 | | |
1251 | | - | |
1252 | | - | |
1253 | | - | |
1254 | | - | |
1255 | | - | |
| 1253 | + | |
1256 | 1254 | | |
1257 | 1255 | | |
1258 | 1256 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments