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 unused import warnings, but ti got backported to 3.13 where the import is used.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
Bug report
Bug description:
This is a result of #120429
Thew change on the main branch correctly removed unused
import warnings, but ti got backported to 3.13 where the import is used.CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs