• Victor Stinner's avatar
    Merge 3.5 · e091d32a
    Victor Stinner yazdı
    Issue #21925: warnings.formatwarning() now catches exceptions when calling
    linecache.getline() and tracemalloc.get_object_traceback() to be able to log
    ResourceWarning emitted late during the Python shutdown process.
    e091d32a
warnings.py 17.6 KB