Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4bc24678
Commit
4bc24678
authored
Dec 28, 2018
by
Terry Jan Reedy
Committed by
GitHub
Dec 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-34055: Revert deletion of line in IDLE's PyShell (#11346)
The attribute is still used in other modules.
parent
c0381aae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Lib/idlelib/pyshell.py
Lib/idlelib/pyshell.py
+1
-1
Misc/NEWS.d/next/IDLE/2018-12-28-17-16-33.bpo-34055.TmmpzR.rst
...NEWS.d/next/IDLE/2018-12-28-17-16-33.bpo-34055.TmmpzR.rst
+1
-0
No files found.
Lib/idlelib/pyshell.py
View file @
4bc24678
...
...
@@ -882,7 +882,7 @@ class PyShell(OutputWindow):
self
.
usetabs
=
True
# indentwidth must be 8 when using tabs. See note in EditorWindow:
self
.
indentwidth
=
8
self
.
context_use_ps1
=
True
self
.
sys_ps1
=
sys
.
ps1
if
hasattr
(
sys
,
'ps1'
)
else
'>>> '
self
.
prompt_last_line
=
self
.
sys_ps1
.
split
(
'
\
n
'
)[
-
1
]
self
.
prompt
=
self
.
sys_ps1
# Changes when debug active
...
...
Misc/NEWS.d/next/IDLE/2018-12-28-17-16-33.bpo-34055.TmmpzR.rst
0 → 100644
View file @
4bc24678
Fix erroneous 'smart' indents and newlines in IDLE Shell.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment