Bugs item #1632328, was opened at 2007-01-10 12:56
Message generated for change (Comment added) made by gbrandl
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: Vinay Sajip (vsajip)
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.


----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2007-01-11 12:27

Message:
Logged In: YES 
user_id=849994
Originator: NO

Does a backport to 2.4 make sense?

----------------------------------------------------------------------

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

Reply via email to