• Gregory P. Smith's avatar
    [2.7] bpo-21149: Workaround a GC finalization bug in logging. (#4368) · e84f6d38
    Gregory P. Smith yazdı
    * Work around a GC process finalization bug.
    
    The logging RLock instances may exist but the threading.RLock class
    itself has already been emptied causing a
    Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef ..."
    to be printed to stderr on process termination.
    
    This catches that exception and ignores it because there is absolutely
    nothing we can or should do about it from the context of a weakref
    handler called from the gc context.
    e84f6d38
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
config.py Loading commit data...
handlers.py Loading commit data...