Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
Closed
Description
Bug report
Bug description:
>>>importimportlib.abc>>>importlib.abc.TraversableResourcesTraceback (mostrecentcalllast):File"<python-input-3>",line1,in<module>importlib.abc.TraversableResourcesFile"/usr/lib64/python3.13/importlib/abc.py",line34,in__getattr__warnings._deprecated(f"{__name__}.{name}",remove=(3,14))^^^^^^^^NameError:name'warnings'isnotdefined.Didyoumean:'Warning'?Ordidyouforgettoimport'warnings'?
This is a result of#120429
Thew change on the main branch correctly removed unusedimport warnings, but ti got backported to 3.13 where the import is used.
CPython versions tested on:
3.13
Operating systems tested on:
Linux