Bugs item #1614460, was opened at 2006-12-13 03:02
Message generated for change (Comment added) made by vsajip
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1614460&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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Simon Hookway (shookway)
Assigned to: Vinay Sajip (vsajip)
Summary: python-logging compatability with Zope.

Initial Comment:
I'm using Zope2.8.x and python2.4.

On shutdown removing the handlers causes a KeyError because the new 
_handlersList is not correctly updated and thus has a now non-existant handler 
in it.

This double list/dict thing is a little cumbersome. I'm not sure either why 
it's a dict but i have replaced it with an OrderedDict so that old 2.3 logging 
behaviour works without modification.

See the included patch.

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

>Comment By: Vinay Sajip (vsajip)
Date: 2007-02-16 18:27

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

The change was backported to the release24-maint branch some time ago -
sorry for not making it clear.

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

Comment By: Simon Hookway (shookway)
Date: 2007-02-11 23:57

Message:
Logged In: YES 
user_id=1667120
Originator: YES

"fixed in 2.5" -- that is the problem, why was this fix not rolled back to
python2.4? I submit this patch for those of us out there still using 2.4
and likely to be using it for a while to come. 

Can we have it fixed in 2.4 please.

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

Comment By: SourceForge Robot (sf-robot)
Date: 2006-12-30 03:20

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

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Vinay Sajip (vsajip)
Date: 2006-12-15 17:13

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

Yes, a fix was applied a while ago.

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

Comment By: Georg Brandl (gbrandl)
Date: 2006-12-15 08:06

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

I believe this was fixed in 2.5, but I could be mistaken.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1614460&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