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
663a3904
Commit
663a3904
authored
Apr 11, 2013
by
Roger Serwy
Browse files
Options
Browse Files
Download
Plain Diff
#17585: merge with 3.3.
parents
f1c42538
1eafd107
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Lib/idlelib/PyShell.py
Lib/idlelib/PyShell.py
+3
-0
Lib/site.py
Lib/site.py
+1
-6
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/PyShell.py
View file @
663a3904
...
...
@@ -1368,6 +1368,9 @@ class PseudoInputFile(PseudoFile):
self
.
_line_buffer
=
line
[
size
:]
return
line
[:
size
]
def
close
(
self
):
self
.
shell
.
close
()
usage_msg
=
"""
\
...
...
Lib/site.py
View file @
663a3904
...
...
@@ -350,12 +350,7 @@ def setquit():
# Shells like IDLE catch the SystemExit, but listen when their
# stdin wrapper is closed.
try
:
fd
=
-
1
if
hasattr
(
sys
.
stdin
,
"fileno"
):
fd
=
sys
.
stdin
.
fileno
()
if
fd
!=
0
:
# Don't close stdin if it wraps fd 0
sys
.
stdin
.
close
()
sys
.
stdin
.
close
()
except
:
pass
raise
SystemExit
(
code
)
...
...
Misc/NEWS
View file @
663a3904
...
...
@@ -1060,6 +1060,8 @@ _ Issue #17385: Fix quadratic behavior in threading.Condition. The FIFO
IDLE
----
- Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit().
- Issue #17657: Show full Tk version in IDLE'
s
about
dialog
.
Patch
by
Todd
Rovito
.
...
...
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