René's URL Explorer Experiment


Title: Isolate the faulthandler Module Between Interpreters · Issue #101509 · python/cpython · GitHub

Open Graph Title: Isolate the faulthandler Module Between Interpreters · Issue #101509 · python/cpython

X Title: Isolate the faulthandler Module Between Interpreters · Issue #101509 · python/cpython

Description: (See gh-100227.) Currently the faulthandler module has some state in _PyRuntimeState, including objects, which is shared by all interpreters. Interpreters should be isolated from each other, for a variety of reasons (including the possib...

Open Graph Description: (See gh-100227.) Currently the faulthandler module has some state in _PyRuntimeState, including objects, which is shared by all interpreters. Interpreters should be isolated from each other, for a ...

X Description: (See gh-100227.) Currently the faulthandler module has some state in _PyRuntimeState, including objects, which is shared by all interpreters. Interpreters should be isolated from each other, for a ...

Opengraph URL: https://github.com/python/cpython/issues/101509

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Isolate the faulthandler Module Between Interpreters","articleBody":"(See gh-100227.)\r\n\r\nCurrently the faulthandler module has some state in `_PyRuntimeState`, including objects, which is shared by all interpreters.  Interpreters should be isolated from each other, for a variety of reasons (including the possibility of a per-interpreter GIL).  Isolating the module will involve moving some of the state to `PyInterpreterState` (and, under per-interpreter GIL, guarding other state with a global lock).\r\n\r\n----\r\n\r\nCode Analysis:\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003e(expand)\u003c/summary\u003e\r\n\r\n## Signals\r\n\r\nThe module installs handlers for various signals.\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003e(expand)\u003c/summary\u003e\r\n\r\n\u003cBR/\u003e\r\nfatal:\r\n\r\n* `SIGBUS` - bus error\r\n* `SIGILL` - illegal instruction\r\n* `SIGFPE` - floating point exception\r\n* `SIGABRT` - abort\r\n* `SIGSEGV` - segfault\r\n\r\n\"user\":\r\n\r\n* the 5 fatal signals\r\n* others (up to `Py_NSIG`)\r\n\r\nhandlers:\r\n\r\n* `faulthandler_fatal_error(signum)`\r\n* `faulthandler_exc_handler()`  (on Windows)\r\n* `faulthandler_user()`\r\n\r\n\u003c/details\u003e\r\n\r\n\r\n## State\r\n\r\n### Fields\r\n\r\nhttps://github.com/python/cpython/blob/main/Include/internal/pycore_faulthandler.h#L49-L86\r\nhttps://github.com/python/cpython/blob/main/Include/internal/pycore_runtime.h#L146\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003eraw\u003c/summary\u003e\r\n\r\nhttps://github.com/python/cpython/blob/62251c3da06eb4662502295697f39730565b1717/Include/internal/pycore_faulthandler.h#L49-L86\r\nhttps://github.com/python/cpython/blob/62251c3da06eb4662502295697f39730565b1717/Include/internal/pycore_faulthandler.h#L36-L46\r\n\u003c/details\u003e\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003etables:\u003c/summary\u003e\r\n\r\n\u003cBR/\u003e\r\n\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**type**\u003c/p\u003e | \u003cp align=\"center\"\u003e**\\#ifdef**\u003c/p\u003e | \u003cp align=\"center\"\u003e**notes**\u003c/p\u003e |\r\n| ---- | ---- | ---- | ---- |\r\n| `fatal_error` |  |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `enabled` | `bool` |  | \"is faulthandler enabled?\" |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `file` | **`PyObject *`** |  | only for keeping `.fd` alive |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `fd` | `int` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `all_threads` | `bool` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `interp` | **`PyInterpreterState *`** |  | show only its threads\u003cBR/\u003ethe one that enabled faulthandler |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `exc_handler` | `void *` | `MS_WINDOWS` |  |\r\n|  |  |  |  |\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**type**\u003c/p\u003e | \u003cp align=\"center\"\u003e**\\#ifdef**\u003c/p\u003e | \u003cp align=\"center\"\u003e**notes**\u003c/p\u003e |\r\n| `thread` | --- |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `file` | *`PyObject *`* |  | only for keeping `.fd` alive |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `fd` | `int` |  | defaults to `sys.stderr` |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `timeout_us` | `PY_TIMEOUT_T` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `repeat` | `bool` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `interp` | **`PyInterpreterState *`** |  | show only its threads\u003cBR/\u003ethe one that requested the info |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `exit` | `bool` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `header` | `char *` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `header_len` | `size_t` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `cancel_event` | **`PyThread_type_lock`** |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `running` | **`PyThread_type_lock`** |  |  |\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**type**\u003c/p\u003e | \u003cp align=\"center\"\u003e**\\#ifdef**\u003c/p\u003e | \u003cp align=\"center\"\u003e**notes**\u003c/p\u003e |\r\n| `user_signals` | **`struct faulthandler_user_signal *`** | `FAULTHANDLER_USER` | a dynamically allocated array (`Py_NSIG`) |\r\n| `user_signals[signum]` | --- |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `enabled` | `bool` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `file` | `PyObject *` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `fd` | `int` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `all_threads` | `bool` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `chain` | `bool` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `previous` | `_Py_sighandler_t` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `interp` | **`PyInterpreterState *`** |  | show only its threads\u003cBR/\u003ethe one that added the handler |\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**type**\u003c/p\u003e | \u003cp align=\"center\"\u003e**\\#ifdef**\u003c/p\u003e | \u003cp align=\"center\"\u003e**notes**\u003c/p\u003e |\r\n| `old_stack` | `stack_t` | `FAULTHANDLER_USE_ALT_STACK` |  |\r\n| `stack` | `stack_t` | `FAULTHANDLER_USE_ALT_STACK` |  |\r\n\r\n\u003c/details\u003e\r\n\r\n\r\n### Usage\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003esimple:\u003c/summary\u003e\r\n\r\n\u003cBR/\u003e\r\n\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**context**\u003c/p\u003e | \u003cp align=\"center\"\u003e**get**\u003c/p\u003e | \u003cp align=\"center\"\u003e**set**\u003c/p\u003e |\r\n| ---- | ---- | ---- | ---- |\r\n| `fatal_error` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `enabled` | module | `faulthandler_is_enabled()` | `faulthandler_disable_py()` |\r\n|  | signal | `faulthandler_fatal_error()` |  |\r\n|  | internal | `faulthandler_enable()`\u003cBR/\u003e`faulthandler_disable()` | `faulthandler_enable()`\u003cBR/\u003e`faulthandler_disable()` |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `file` | module | `faulthandler_traverse()` | `faulthandler_py_enable()`\u003cBR/\u003e`faulthandler_traverse()` |\r\n|  | internal | `faulthandler_disable()` | `faulthandler_disable()` |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `fd` |  | module |  | `faulthandler_py_enable()` |\r\n|  | signal | `faulthandler_fatal_error()`\u003cBR/\u003e`faulthandler_exc_handler()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `all_threads` | module |  | `faulthandler_py_enable()` |\r\n|  | signal | `faulthandler_fatal_error()`\u003cBR/\u003e`faulthandler_exc_handler()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `interp` | module |  | `faulthandler_py_enable()` |\r\n|  | internal | `faulthandler_fatal_error()`\u003cBR/\u003e`faulthandler_exc_handler()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `exc_handler` | internal | `faulthandler_enable()`\u003cBR/\u003e`faulthandler_disable()` | `faulthandler_enable()`\u003cBR/\u003e`faulthandler_disable()` |\r\n|  |  |  |\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**context**\u003c/p\u003e | \u003cp align=\"center\"\u003e**get**\u003c/p\u003e | \u003cp align=\"center\"\u003e**set**\u003c/p\u003e |\r\n| `thread` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `file` | module | `faulthandler_dump_traceback_later()`\u003cBR/\u003e`faulthandler_traverse()` | `faulthandler_dump_traceback_later()`\u003cBR/\u003e`faulthandler_traverse()` |\r\n|  | internal | `cancel_dump_traceback_later()` | `cancel_dump_traceback_later()` |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `fd` |\r\n module |  | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `timeout_us` | module |  | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `repeat` | module |  | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `interp` | module |  | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `exit` | module |  | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `header` | module |  | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n|  | internal | `cancel_dump_traceback_later()` | `cancel_dump_traceback_later()` |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `header_len` | module |  | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `cancel_event` | module | `faulthandler_dump_traceback_later()` | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n|  | internal | `cancel_dump_traceback_later()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `running` | module | `faulthandler_dump_traceback_later()` | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |  |\r\n|  | internal | `cancel_dump_traceback_later()` |  |\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**context**\u003c/p\u003e | \u003cp align=\"center\"\u003e**get**\u003c/p\u003e | \u003cp align=\"center\"\u003e**set**\u003c/p\u003e |\r\n| `user_signals` | module | `faulthandler_register_py()`\u003cBR/\u003e`faulthandler_unregister_py()` | `faulthandler_register_py()`\u003cBR/\u003e`faulthandler_traverse()` |\r\n|  | C-API | `_PyFaulthandler_Fini()` | `_PyFaulthandler_Fini()` |\r\n|  | signal | `faulthandler_user()` |  |\r\n| `user_signals[signum]` |  |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `enabled` | module | `faulthandler_register_py()` | `faulthandler_register_py()` |\r\n|  | signal | `faulthandler_user()` |  |\r\n|  | internal | `faulthandler_unregister()` | `faulthandler_unregister()` |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `file` | module | `faulthandler_register_py()`\u003cBR/\u003e`faulthandler_traverse()` | `faulthandler_register_py()`\u003cBR/\u003e`faulthandler_traverse()` |\r\n|  | internal | `faulthandler_unregister()` | `faulthandler_unregister()` |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `fd` | module |  | `faulthandler_register_py()` |\r\n|  | signal | `faulthandler_user()` |  |\r\n|  | internal |  | `faulthandler_unregister()` |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `all_threads` | module |  | `faulthandler_register_py()` |\r\n|  | signal | `faulthandler_user()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `chain` | module |  | `faulthandler_register_py()` |\r\n|  | signal | `faulthandler_user()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `previous` | module |  | `faulthandler_register_py()` |\r\n|  | signal | `faulthandler_user()` |  |\r\n|  | internal | `faulthandler_unregister()` |  |\r\n| \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;. `interp` | module |  | `faulthandler_register_py()` |\r\n|  | signal | `faulthandler_user()` |  |\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**context**\u003c/p\u003e | \u003cp align=\"center\"\u003e**get**\u003c/p\u003e | \u003cp align=\"center\"\u003e**set**\u003c/p\u003e |\r\n| `stack` | C-API | `_PyFaulthandler_Init()`\u003cBR/\u003e`_PyFaulthandler_Fini()` |  |\r\n|  | internal | `faulthandler_enable()`\u003cBR/\u003e`faulthandler_register()`\u003cBR/\u003e`faulthandler_allocate_stack()` |  |\r\n| `old_stack` | C-API | `_PyFaulthandler_Fini()` |  |\r\n\r\n\u003c/details\u003e\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003emodify data in complex fields:\u003c/summary\u003e\r\n\r\n\u003cBR/\u003e\r\n\r\n| \u003cp align=\"center\"\u003e**name**\u003c/p\u003e | \u003cp align=\"center\"\u003e**context**\u003c/p\u003e | \u003cp align=\"center\"\u003e**calls**\u003c/p\u003e |\r\n| ---- | ---- | ---- |\r\n| `fatal_error .fd` | signal | `faulthandler_fatal_error()` -\u003e `faulthandler_dump_traceback()`\u003cBR/\u003e`faulthandler_fatal_error()` -\u003e `_Py_DumpExtensionModules()`\u003cBR/\u003e`faulthandler_exc_handler()`\u003cBR/\u003e`faulthandler_exc_handler()` -\u003e `_Py_DumpHexadecimal()`\u003cBR/\u003e`faulthandler_exc_handler()` -\u003e `faulthandler_dump_traceback()` |\r\n| `thread.fd` | thread | `faulthandler_thread()` -\u003e `_Py_write_noraise()`\u003cBR/\u003e`faulthandler_thread()` -\u003e `_Py_DumpTracebackThreads()` |\r\n| `thread .cancel_event` | module | `faulthandler_dump_traceback_later()` |\r\n|  | C-API | `_PyFaulthandler_Fini()` |\r\n|  | thread | `faulthandler_thread()` |\r\n|  | internal | `cancel_dump_traceback_later()` |\r\n| `thread .running` | module | `faulthandler_dump_traceback_later()` |\r\n|  | thread | `faulthandler_thread()` |\r\n|  | internal | `cancel_dump_traceback_later()` |\r\n| `user_signals[signum] .fd` | signal | `faulthandler_user()` -\u003e `faulthandler_dump_traceback()` |\r\n| `stack` | C-API | `_PyFaulthandler_Init()`\u003cBR/\u003e`_PyFaulthandler_Fini()` |\r\n|  | internal | `faulthandler_allocate_stack()` |\r\n| `old_stack` | internal | `faulthandler_allocate_stack()` -\u003e `sigaltstack()` |\r\n\r\n\u003c/details\u003e\r\n\r\n\u003c/details\u003e","author":{"url":"https://github.com/ericsnowcurrently","@type":"Person","name":"ericsnowcurrently"},"datePublished":"2023-02-01T22:37:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/101509/cpython/issues/101509"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:95e83049-d5d6-a477-313a-ff283e0a72fc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC844:31E362:276E3C:34B237:69697968
html-safe-nonce6ee4a1d6ffcdc536392dce3afdd6113cd07d932a526ea07ee2ff5da1fa51f50f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODQ0OjMxRTM2MjoyNzZFM0M6MzRCMjM3OjY5Njk3OTY4IiwidmlzaXRvcl9pZCI6IjEzMjM1NTAwNDcyNjA0NzM3MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac824a3a4a6f58cdfe3d8bbfccc91fb1023f89c0065a4ece8ac8101a660b4ead9d
hovercard-subject-tagissue:1566956108
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/101509/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1ee4482f0c6676b3dfc539ba442415a44c02dbcfa5eb522ae4b9a06d7084eeab/python/cpython/issues/101509
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1ee4482f0c6676b3dfc539ba442415a44c02dbcfa5eb522ae4b9a06d7084eeab/python/cpython/issues/101509
og:image:alt(See gh-100227.) Currently the faulthandler module has some state in _PyRuntimeState, including objects, which is shared by all interpreters. Interpreters should be isolated from each other, for a ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
Nonec6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release212e3e3d3298bf5b313830edfd2399e869f7ea76
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/101509#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F101509
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F101509
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/101509
Reloadhttps://github.com/python/cpython/issues/101509
Reloadhttps://github.com/python/cpython/issues/101509
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/101509
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/101509
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/101509
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/101509
Isolate the faulthandler Module Between Interpretershttps://github.com/python/cpython/issues/101509#top
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
topic-subinterpretershttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-subinterpreters%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/ericsnowcurrently
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
on Feb 1, 2023https://github.com/python/cpython/issues/101509#issue-1566956108
gh-100227https://github.com/python/cpython/issues/100227
https://github.com/python/cpython/blob/main/Include/internal/pycore_faulthandler.h#L49-L86https://github.com/python/cpython/blob/main/Include/internal/pycore_faulthandler.h#L49-L86
https://github.com/python/cpython/blob/main/Include/internal/pycore_runtime.h#L146https://github.com/python/cpython/blob/main/Include/internal/pycore_runtime.h#L146
cpython/Include/internal/pycore_faulthandler.hhttps://github.com/python/cpython/blob/62251c3da06eb4662502295697f39730565b1717/Include/internal/pycore_faulthandler.h#L49-L86
62251c3https://github.com/python/cpython/commit/62251c3da06eb4662502295697f39730565b1717
cpython/Include/internal/pycore_faulthandler.hhttps://github.com/python/cpython/blob/62251c3da06eb4662502295697f39730565b1717/Include/internal/pycore_faulthandler.h#L36-L46
62251c3https://github.com/python/cpython/commit/62251c3da06eb4662502295697f39730565b1717
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
topic-subinterpretershttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-subinterpreters%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
Subinterpretershttps://github.com/orgs/python/projects/3
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.