Title: Can't import `concurrent.futures.thread` at shutdown · Issue #113060 · python/cpython · GitHub
Open Graph Title: Can't import `concurrent.futures.thread` at shutdown · Issue #113060 · python/cpython
X Title: Can't import `concurrent.futures.thread` at shutdown · Issue #113060 · python/cpython
Description: Bug report Bug description: Simple reproducer (real-world bug report is a bit more complex): import threading def use_cf(): import concurrent.futures.thread def main(): t = threading.Thread(target=use_cf) t.start() if __name__ == "__main...
Open Graph Description: Bug report Bug description: Simple reproducer (real-world bug report is a bit more complex): import threading def use_cf(): import concurrent.futures.thread def main(): t = threading.Thread(target=...
X Description: Bug report Bug description: Simple reproducer (real-world bug report is a bit more complex): import threading def use_cf(): import concurrent.futures.thread def main(): t = threading.Thread(target=...
Opengraph URL: https://github.com/python/cpython/issues/113060
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't import `concurrent.futures.thread` at shutdown","articleBody":"# Bug report\n\n### Bug description:\n\nSimple reproducer (real-world [bug report](https://github.com/apache/arrow/issues/35237) is a bit more complex):\n```python\nimport threading\n\n\ndef use_cf():\n import concurrent.futures.thread\n\n\ndef main():\n t = threading.Thread(target=use_cf)\n t.start()\n\n\nif __name__ == \"__main__\":\n main()\n```\n\n\n### CPython versions tested on:\n\n3.10, 3.11, 3.12, 3.13\n\n### Operating systems tested on:\n\n_No response_","author":{"url":"https://github.com/pitrou","@type":"Person","name":"pitrou"},"datePublished":"2023-12-13T18:54:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/113060/cpython/issues/113060"}
| 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:7bc68f70-5298-67e0-e8be-183c4f48b2f7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6BA:2F8072:3E2E17:573898:6A4E6B80 |
| html-safe-nonce | 4b58da1225e35f016e1e38944a9d748360a6510e83947298943497fe334fc4be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkJBOjJGODA3MjozRTJFMTc6NTczODk4OjZBNEU2QjgwIiwidmlzaXRvcl9pZCI6IjkzOTczMjI3MDU1MzM5NDA0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45223917e7f39bc9d64f4f684286c9532fd1f7cdc33bacc30885a372845eb147 |
| hovercard-subject-tag | issue:2040290968 |
| 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/113060/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ea1f99e3c9b8d8dc9d3668d3adc9b0f918da299c55819bc40cab71563957c2d8/python/cpython/issues/113060 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ea1f99e3c9b8d8dc9d3668d3adc9b0f918da299c55819bc40cab71563957c2d8/python/cpython/issues/113060 |
| og:image:alt | Bug report Bug description: Simple reproducer (real-world bug report is a bit more complex): import threading def use_cf(): import concurrent.futures.thread def main(): t = threading.Thread(target=... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pitrou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width