[Python-Dev] cpython (2.7): Issue #17508: Handled out-of-order handler configuration correctly.
vinay_sajip at yahoo.co.uk
Sat Mar 23 10:38:44 CET 2013
Antoine Pitrou <solipsis <at> pitrou.net> writes:
>> Issue #17508: Handled out-of-order handler configuration correctly.
> Could you explain what "out-of-order handler configuration" means?
In logging, a MemoryHandler buffers records and has a reference to another
handler - the "target" - which does the actual output of the buffered records.
It can happen when using dictConfig() that the MemoryHandler is configured before
the target handler, and in this case the reference to the target wasn't set up
correctly. The commit rectifies this.
> Also, could you add a Misc/NEWS entry for the change / bugfix?
Ok, will do.
More information about the Python-Dev