Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Open
Labels
Description
New deprecation warnings about missing or inconsistent__spec__.loader
and__loader__
introduced in#86298 are emitted only for the C implementation of thewarnings
module. Existing errors (AttributeError or ValueError) are also only raised for the C implementation of thewarnings
module. See tests added in#122227.
I believe that before turning the deprecation warnings into errors, we should add warnings for the Python implementation.