Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Extraneous error output when process exits after using subinterpreters聽#135729

Copy link
Copy link

Description

@a-reich
Issue body actions

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

Linked PRs

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixesbugs and security fixes3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    Status
    Done
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.