Title: [3.12] gh-108740: Fix "make regen-all" race condition (#108741) by vstinner · Pull Request #109019 · python/cpython · GitHub
Open Graph Title: [3.12] gh-108740: Fix "make regen-all" race condition (#108741) by vstinner · Pull Request #109019 · python/cpython
X Title: [3.12] gh-108740: Fix "make regen-all" race condition (#108741) by vstinner · Pull Request #109019 · python/cpython
Description: Fix a race condition in "make regen-all". The deepfreeze.c source and files generated by Argument Clinic are now generated or updated before generating "global objects". Previously, some identifiers may miss depending on the order in which these files were generated. "make regen-global-objects": Make sure that deepfreeze.c is generated and up to date, and always run "make clinic". "make clinic" no longer runs generate_global_objects.py script. "make regen-deepfreeze" now only updates deepfreeze.c (C file). It doesn't build deepfreeze.o (object) anymore. Remove misleading messages in "make regen-global-objects" and "make clinic". They are now outdated, these commands are now safe to use. Document generates files in Doc/using/configure.rst. Co-authored-by: Erlend E. Aasland erlend@python.org (cherry picked from commit db1ee6a) Issue: gh-108740 📚 Documentation preview 📚: https://cpython-previews--109019.org.readthedocs.build/
Open Graph Description: Fix a race condition in "make regen-all". The deepfreeze.c source and files generated by Argument Clinic are now generated or updated before generating "global objects". Previou...
X Description: Fix a race condition in "make regen-all". The deepfreeze.c source and files generated by Argument Clinic are now generated or updated before generating "global objects&am...
Opengraph URL: https://github.com/python/cpython/pull/109019
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6ee050fa-e17e-d336-d337-d08e28dc9595 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C82C:8D142:2A52C1D:378373A:696B28D9 |
| html-safe-nonce | 295fc2751a85de1c3306339b142716399312b80593f57a3061d28bed8fe0ec64 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODJDOjhEMTQyOjJBNTJDMUQ6Mzc4MzczQTo2OTZCMjhEOSIsInZpc2l0b3JfaWQiOiIxMTAwNDI1MTg1MDA2MTY0MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c0393adc5f11d6fab42d6a81aa01a28ba89b3a9e19345d0d690c805c6fb2000 |
| hovercard-subject-tag | pull_request:1505087389 |
| 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/109019/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Fix a race condition in "make regen-all". The deepfreeze.c source and files generated by Argument Clinic are now generated or updated before generating "global objects". Previou... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width