Title: bpo-31901: atexit callbacks should be run at subinterpreter shutdown · Pull Request #4611 · python/cpython · GitHub
Open Graph Title: bpo-31901: atexit callbacks should be run at subinterpreter shutdown · Pull Request #4611 · python/cpython
X Title: bpo-31901: atexit callbacks should be run at subinterpreter shutdown · Pull Request #4611 · python/cpython
Description: This PR moves the atexit callbacks from Python runtime context to interpreter state. Also, Py_EndInterpreter() now calls atexit callbacks of the interpreter. These changes make it possible to implement PEP-489 multiphase initialization for atexit module, which is also done in this PR. https://bugs.python.org/issue31901
Open Graph Description: This PR moves the atexit callbacks from Python runtime context to interpreter state. Also, Py_EndInterpreter() now calls atexit callbacks of the interpreter. These changes make it possible to imple...
X Description: This PR moves the atexit callbacks from Python runtime context to interpreter state. Also, Py_EndInterpreter() now calls atexit callbacks of the interpreter. These changes make it possible to imple...
Opengraph URL: https://github.com/python/cpython/pull/4611
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:08c19a79-8617-56b3-57ba-01bebe0fc860 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BBDE:1EEB:1825892:2334401:6A4D0DD2 |
| html-safe-nonce | 904f2c87d596a12115435ef44541829ddd59bf9bb358f687fc6ab88d2959e0d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkRFOjFFRUI6MTgyNTg5MjoyMzM0NDAxOjZBNEQwREQyIiwidmlzaXRvcl9pZCI6IjkwMjEzNjIyNzE5NjAyMzk1NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4120a9148f6a9322c55a2bd37111eb036401e911effb2ac7c36b851dbaa50272 |
| hovercard-subject-tag | pull_request:155091765 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/4611/files |
| twitter:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| og:image:alt | This PR moves the atexit callbacks from Python runtime context to interpreter state. Also, Py_EndInterpreter() now calls atexit callbacks of the interpreter. These changes make it possible to imple... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | bcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width