bpo-31975 (PEP 565): Show DeprecationWarning in __main__ by ncoghlan · Pull Request #4458 · python/cpython
ncoghlan
changed the title
bpo-31875 (PEP 565): Show DeprecationWarning in __main__
bpo-31975 (PEP 565): Show DeprecationWarning in __main__
- primary change is to add a new default filter entry for 'default::DeprecationWarning:__main__' - secondary change is an internal one to cope with plain strings in the warning module's internal filter list (this avoids the need to create a compiled regex object early on during interpreter startup)
ncoghlan
deleted the
issue-31975-main-DeprecationWarning-filter
branch
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