This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: SimpleXMLRpcServer still uses sys.exc_value and sys.exc_type
Type: Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, qopit
Priority: normal Keywords:

Created on 2006-07-19 18:06 by qopit, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
xmlrpcserver.patch akuchling, 2006-07-26 17:45 Patch to use sys.exc_info
Messages (3)
msg29215 - (view) Author: Russell Warren (qopit) Date: 2006-07-19 18:06
Use of sys.exc_value and sys.exc_type is not thread
safe.  It should just use sys.exc_info.

Both exc_value and exc_type are used in two exceptiuon
trapping locations.

This goes back to at least 2.3, and I've checked 2.5
svn ver 50569 and it is still an issue.

Russ
msg29216 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2006-07-26 17:45
Logged In: YES 
user_id=11375

Tested patch attached.  I want to get the go-ahead from the
release manager before committing this change.
msg29217 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2006-09-05 13:16
Logged In: YES 
user_id=11375

Fix applied in rev.51744.
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43693
2006-07-19 18:06:55qopitcreate