Title: Extraneous error output when process exits after using subinterpreters · Issue #135729 · python/cpython · GitHub
Open Graph Title: Extraneous error output when process exits after using subinterpreters · Issue #135729 · python/cpython
X Title: Extraneous error output when process exits after using subinterpreters · Issue #135729 · python/cpython
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()...
Open Graph 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 interpre...
X 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...
Opengraph URL: https://github.com/python/cpython/issues/135729
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Extraneous error output when process exits after using subinterpreters","articleBody":"# Bug report\n\n### Bug description:\n\nI opened an [issue](https://github.com/ericsnowcurrently/interpreters/issues/22) earlier on the repo for the PyPI backport, but now that PEP 734 is implemented (🎉!) I am doing so here.\n\nReproducer:\n```python\n\u003e\u003e\u003e from concurrent import interpreters\n\u003e\u003e\u003e interp1 = interpreters.create()\n\u003e\u003e\u003e interp1.close() # same output occurs without this\n\u003e\u003e\u003e exit\nException ignored while calling deallocator \u003cfunction Interpreter.__del__ at 0x7308402c8460\u003e:\nTraceback (most recent call last):\n File \"/usr/lib/python3.14/concurrent/interpreters/__init__.py\", line 146, in __del__\n File \"/usr/lib/python3.14/concurrent/interpreters/__init__.py\", line 162, in _decref\nTypeError: catching classes that do not inherit from BaseException is not allowed\n```\nI am on release 3.14.0b3 installed as an ubuntu distribution, running on WSL.\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-139104\n* gh-139112\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/a-reich","@type":"Person","name":"a-reich"},"datePublished":"2025-06-19T19:13:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/135729/cpython/issues/135729"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5b5203fc-df3e-f175-d21a-450c9522a01d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFCA:22391C:B5FE24:ECB026:696B5B19 |
| html-safe-nonce | 418bc4060542e1adf8befa697895690e35a2aa5bfdc769d464d86dd8915b34be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkNBOjIyMzkxQzpCNUZFMjQ6RUNCMDI2OjY5NkI1QjE5IiwidmlzaXRvcl9pZCI6IjcyMzE4Njk0NjA5NDE1OTMzNjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cadc6ffabbe0bd6dbc5b199962a34eab6ba95393274ffe474fff8971918d68f3 |
| hovercard-subject-tag | issue:3161152899 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/135729/issue_layout |
| twitter:image | https://opengraph.githubassets.com/38f9ca458754b62e132dacfa06ab85b3c476af349c7e00462a8b0409b4993493/python/cpython/issues/135729 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/38f9ca458754b62e132dacfa06ab85b3c476af349c7e00462a8b0409b4993493/python/cpython/issues/135729 |
| og:image:alt | 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 interpre... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | a-reich |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width