Bugs item #1083202, was opened at 2004-12-10 14:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1083202&group_id=5470
Category: Python Library Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Gary H. Loechelt (loechelt) Assigned to: Nobody/Anonymous (nobody) Summary: UnboundLocalError raised by atexit module Initial Comment: 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1083202&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com