bpo-32089: Fix warnings filters in dev mode by vstinner · Pull Request #4482 · python/cpython
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.
vstinner
changed the title
bpo-32089: Fix ResourceWarning filter in dev mode
bpo-32089: Fix warnings filters in dev mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters