Tim Peters wrote:
> We're getting an awful lot of these turds at the ends of test runs now:
> 
> Error in atexit._run_exitfuncs:


> Not sure what caused it, but suspect this:
> 
> """
> Author: georg.brandl
> Date: Fri Aug 11 09:26:10 2006
> New Revision: 51206
> 
> Modified:
>   python/trunk/Lib/logging/__init__.py
>   python/trunk/Misc/NEWS
> Log:
> logging's atexit hook now runs even if the rest of the module has
> already been cleaned up.
> """
> 
> Anyway, can we stop this?  It doesn't look like "a feature" from here ;-)

If it was a feature, it couldn't have gone in right now ;-)

But yes, I confirmed that that change caused it. I've now found the problem:
one of the test_logging tests reassigned _handlerList, causing it to go
out of sync with the handlerList stored in shutdown().

Fixed in rev. 51235.

Georg

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to