• Victor Stinner's avatar
    bpo-32089: Fix warnings filters in dev mode (#4482) · 09f3a8a1
    Victor Stinner yazdı
    The developer mode (-X dev) now creates all default warnings filters
    to order filters in the correct order to always show ResourceWarning
    and make BytesWarning depend on the -b option.
    
    Write a functional test to make sure that ResourceWarning is logged
    twice at the same location in the developer mode.
    
    Add a new 'dev_mode' field to _PyCoreConfig.
    09f3a8a1
test_cmd_line.py 25.1 KB