Title: bpo-17852: Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics by pitrou · Pull Request #4826 · python/cpython · GitHub
Open Graph Title: bpo-17852: Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics by pitrou · Pull Request #4826 · python/cpython
X Title: bpo-17852: Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics by pitrou · Pull Request #4826 · python/cpython
Description: The fix committed in #3372 uses _Py_PyAtExit. Unfortunately this function does not add a new callback, it merely replaces the current one. In other words, _Py_PyAtExit is only meant to be called by the atexit module and nothing else. https://bugs.python.org/issue17852
Open Graph Description: The fix committed in #3372 uses _Py_PyAtExit. Unfortunately this function does not add a new callback, it merely replaces the current one. In other words, _Py_PyAtExit is only meant to be called by...
X Description: The fix committed in #3372 uses _Py_PyAtExit. Unfortunately this function does not add a new callback, it merely replaces the current one. In other words, _Py_PyAtExit is only meant to be called by...
Opengraph URL: https://github.com/python/cpython/pull/4826
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7354e18c-16a2-828b-0e72-f321decec679 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9782:30AD7C:34D9E18:4AD1D41:6A4D0E72 |
| html-safe-nonce | 6d2cf22b076604b9e2da58944718f04e9bfc4d8fe4ab16971f6605b9903cade9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzgyOjMwQUQ3QzozNEQ5RTE4OjRBRDFENDE6NkE0RDBFNzIiLCJ2aXNpdG9yX2lkIjoiODEwNzk4MzU5NjEwMTExMTQxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45ec7624e211a0f4bbef2a41bb97f47fb26402860a52b5bcafcf52524ca1c1ee |
| hovercard-subject-tag | pull_request:157962436 |
| 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/4826/files |
| twitter:image | https://avatars.githubusercontent.com/u/1721820?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1721820?s=400&v=4 |
| og:image:alt | The fix committed in #3372 uses _Py_PyAtExit. Unfortunately this function does not add a new callback, it merely replaces the current one. In other words, _Py_PyAtExit is only meant to be called by... |
| 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