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.

Author loechelt
Recipients
Date 2004-12-10.21:39:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The following exception is raised on exit by Python 2.4
under certain circumstances:

Error in sys.exitfunc:
Traceback (most recent call last):
  File
"/usr/local/python/python2.4/lib/python2.4/atexit.py",
line 24, in _run_exitfuncs
    exc_info = sys.exc_info()
UnboundLocalError: local variable 'sys' referenced
before assignment

I traced the problem to a missing import statement in
the atexit.py file.  I am enclosing a corrected file
with the patch.

Gary H. Loechelt
History
Date User Action Args
2007-08-23 14:28:21adminlinkissue1083202 messages
2007-08-23 14:28:21admincreate