Title: Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads. · Issue #111751 · python/cpython · GitHub
Open Graph Title: Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads. · Issue #111751 · python/cpython
X Title: Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads. · Issue #111751 · python/cpython
Description: Bug report Bug description: Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads. PyInterpreterConfig config = { .use_main_obmalloc = 0, .allow_fork = 0, .allow_exec = 0, .allow_threads = 1, .allow_daem...
Open Graph Description: Bug report Bug description: Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads. PyInterpreterConfig config = { .use_main_obmalloc = 0, .allow_fork = 0, .allow_e...
X Description: Bug report Bug description: Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads. PyInterpreterConfig config = { .use_main_obmalloc = 0, .allow_fork = 0, ...
Opengraph URL: https://github.com/python/cpython/issues/111751
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads.","articleBody":"# Bug report\r\n\r\n### Bug description:\r\n\r\nUse the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads.\r\n\r\n```c\r\nPyInterpreterConfig config = {\r\n\t\t\t .use_main_obmalloc = 0,\r\n\t\t\t .allow_fork = 0,\r\n\t\t\t .allow_exec = 0,\r\n\t\t\t .allow_threads = 1,\r\n\t\t\t .allow_daemon_threads = 0,\r\n\t\t\t .check_multi_interp_extensions = 1,\r\n\t\t\t .gil = PyInterpreterConfig_OWN_GIL,\r\n\t\t\t};\r\n\t\t\t\r\nPyStatus pstatus = Py_NewInterpreterFromConfig(\u0026Sub_GIL_ThreadState, \u0026config);\r\nif (PyStatus_Exception(pstatus)) {\r\n\t\t\treturn FALSE;\r\n}\r\n```\r\n\r\n### CPython versions tested on:\r\n\r\n3.13, CPython main branch\r\n\r\n### Operating systems tested on:\r\n\r\nLinux\r\n","author":{"url":"https://github.com/williamhu020","@type":"Person","name":"williamhu020"},"datePublished":"2023-11-05T06:25:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/111751/cpython/issues/111751"}
| 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:d01af94c-f49a-c969-dd11-d2380751f800 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC82:1069C6:100753E:1581E2B:69699349 |
| html-safe-nonce | 9ac52e0bba0f9eb2536071a7f9fecabdc13e18bb65ac76882b685e14c84303ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzgyOjEwNjlDNjoxMDA3NTNFOjE1ODFFMkI6Njk2OTkzNDkiLCJ2aXNpdG9yX2lkIjoiMjM2MDU4NDQ4MTAzMDUyMTA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0e635ea566cb9094d1b1a7deab674149ee2ec25bfc4f9ebe120fbbc49157d36c |
| hovercard-subject-tag | issue:1977653258 |
| 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/111751/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2cde8a3b0e75c8ffe4dcd182445c27e3124206f57d0e544c4cc26dcbaf879dff/python/cpython/issues/111751 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2cde8a3b0e75c8ffe4dcd182445c27e3124206f57d0e544c4cc26dcbaf879dff/python/cpython/issues/111751 |
| og:image:alt | Bug report Bug description: Use the API C of 'Py-NewInterpreterFromConfig' to exit unexpectedly in multiple threads. PyInterpreterConfig config = { .use_main_obmalloc = 0, .allow_fork = 0, .allow_e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | williamhu020 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width