Bugs item #1632328, was opened at 2007-01-10 13:56
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=1632328&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stefan H. Holek (shh42)
Assigned to: Nobody/Anonymous (nobody)
Summary: logging.config.fileConfig doesn't clear logging._handlerList
Initial Comment:
logging.config.fileConfig resets logging._handlers but not
logging._handlerList, resulting in tracebacks on shutdown.
e.g.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/atexit.py", line 24, in
_run_exitfuncs
func(*targs, **kargs)
File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 1333, in
shutdown
h.close()
File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 674, in
close
del _handlers[self]
KeyError: <zope.testing.testrunner.NullHandler instance at 0x7dddf0>
AFAICT this is fixed in Python 2.5 but has not been backported. Zope cannot use
2.5 as of yet.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1632328&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com