gh-122255: Synchronize warnings in C and Python implementations of the warnings module by serhiy-storchaka · Pull Request #122824 · python/cpython
… of the warnings module In the linecache module and in the Python implementation of the warnings module, a DeprecationWarning is issued when m.__loader__ differs from m.__spec__.loader (like in the C implementation of the warnings module).
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request
… of the warnings module (pythonGH-122824) In the linecache module and in the Python implementation of the warnings module, a DeprecationWarning is issued when m.__loader__ differs from m.__spec__.loader (like in the C implementation of the warnings module).
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