• Victor Stinner's avatar
    Merge 3.5 · 09f7cc8c
    Victor Stinner authored
    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.
    09f7cc8c
warnings.py 17.6 KB