-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibPython modules in the Lib dirPython modules in the Lib dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
I opened an issue earlier on the repo for the PyPI backport, but now that PEP 734 is implemented (🎉!) I am doing so here.
Reproducer:
>>> from concurrent import interpreters
>>> interp1 = interpreters.create()
>>> interp1.close() # same output occurs without this
>>> exit
Exception ignored while calling deallocator <function Interpreter.__del__ at 0x7308402c8460>:
Traceback (most recent call last):
File "/usr/lib/python3.14/concurrent/interpreters/__init__.py", line 146, in __del__
File "/usr/lib/python3.14/concurrent/interpreters/__init__.py", line 162, in _decref
TypeError: catching classes that do not inherit from BaseException is not allowed
I am on release 3.14.0b3 installed as an ubuntu distribution, running on WSL.
CPython versions tested on:
3.14
Operating systems tested on:
Linux
bluetech
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibPython modules in the Lib dirPython modules in the Lib dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Todo