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
935ea9a0
Commit
935ea9a0
authored
May 10, 2005
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve subprocess link error notification
M NEWS.txt M PyShell.py M rpc.py
parent
77d08bcf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+2
-0
Lib/idlelib/PyShell.py
Lib/idlelib/PyShell.py
+3
-0
Lib/idlelib/rpc.py
Lib/idlelib/rpc.py
+4
-3
No files found.
Lib/idlelib/NEWS.txt
View file @
935ea9a0
...
...
@@ -3,6 +3,8 @@ What's New in IDLE 1.2a0?
*Release date: XX-XXX-2005*
- Improve subprocess link error notification.
- run.py: use Queue's blocking feature instead of sleeping in the main
loop. Patch # 1190163 Michiel de Hoon
...
...
Lib/idlelib/PyShell.py
View file @
935ea9a0
...
...
@@ -596,6 +596,8 @@ class ModifiedInterpreter(InteractiveInterpreter):
self
.
write
(
"Unsupported characters in input"
)
return
try
:
# InteractiveInterpreter.runsource() calls its runcode() method,
# which is overridden (see below)
return
InteractiveInterpreter
.
runsource
(
self
,
source
,
filename
)
finally
:
if
self
.
save_warnings_filters
is
not
None
:
...
...
@@ -720,6 +722,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
else
:
self
.
showtraceback
()
except
:
print
>>
sys
.
stderr
,
"IDLE internal error in runcode()"
self
.
showtraceback
()
finally
:
if
not
use_subprocess
:
...
...
Lib/idlelib/rpc.py
View file @
935ea9a0
...
...
@@ -330,9 +330,10 @@ class SocketIO(object):
try
:
r
,
w
,
x
=
select
.
select
([],
[
self
.
sock
],
[])
n
=
self
.
sock
.
send
(
s
[:
BUFSIZE
])
except
(
AttributeError
,
socket
.
error
):
# socket was closed
raise
IOError
except
(
AttributeError
,
TypeError
):
raise
IOError
,
"socket no longer exists"
except
socket
.
error
:
raise
else
:
s
=
s
[
n
:]
...
...
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