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
0529377c
Commit
0529377c
authored
Mar 22, 2003
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct error in last checkin noticed by Neal Norwitz. And some more.
parent
11c53e2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Lib/idlelib/rpc.py
Lib/idlelib/rpc.py
+4
-4
No files found.
Lib/idlelib/rpc.py
View file @
0529377c
...
@@ -101,17 +101,17 @@ class RPCServer(SocketServer.TCPServer):
...
@@ -101,17 +101,17 @@ class RPCServer(SocketServer.TCPServer):
except
EOFError
:
except
EOFError
:
pass
pass
except
:
except
:
erf
=
'sys.__stderr__'
erf
=
sys
.
__stderr__
print
>>
erf
,
'-'
*
40
print
>>
erf
,
'
\
n
'
+
'
-'
*
40
print
>>
erf
,
'Unhandled server exception!'
print
>>
erf
,
'Unhandled server exception!'
print
>>
erf
,
'Thread: %s'
%
threading
.
currentThread
().
getName
()
print
>>
erf
,
'Thread: %s'
%
threading
.
currentThread
().
getName
()
print
>>
erf
,
'Client Address: '
,
address
print
>>
erf
,
'Client Address: '
,
client_
address
print
>>
erf
,
'Request: '
,
repr
(
request
)
print
>>
erf
,
'Request: '
,
repr
(
request
)
traceback
.
print_exc
(
file
=
erf
)
traceback
.
print_exc
(
file
=
erf
)
print
>>
erf
,
'
\
n
*** Unrecoverable, server exiting!'
print
>>
erf
,
'
\
n
*** Unrecoverable, server exiting!'
print
>>
erf
,
'-'
*
40
print
>>
erf
,
'-'
*
40
import
os
import
os
os
.
_exit
os
.
_exit
(
0
)
objecttable
=
{}
objecttable
=
{}
...
...
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