Title: gh-123471: Make concurrent iteration over itertools.pairwise thread-safe by eendebakpt · Pull Request #144489 · python/cpython · GitHub
Open Graph Title: gh-123471: Make concurrent iteration over itertools.pairwise thread-safe by eendebakpt · Pull Request #144489 · python/cpython
X Title: gh-123471: Make concurrent iteration over itertools.pairwise thread-safe by eendebakpt · Pull Request #144489 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: We use a critical section similar to the approach in #132814. The ideas from an earlier PR #125417 are too complex (or not sufficient for thread-safety). We also avoid an incref/decref pair. Iss...
X Description: We use a critical section similar to the approach in #132814. The ideas from an earlier PR #125417 are too complex (or not sufficient for thread-safety). We also avoid an incref/decref pair. Iss...
Opengraph URL: https://github.com/python/cpython/pull/144489
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:0d3de1ca-8338-20e7-b113-45bad5ad765f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E5CE:154220:2C278:3D2AD:6A587D82 |
| html-safe-nonce | 8a1346e6b435c8c9e55c68687679f9ba1cddc978863e550379addbc76fc804f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUNFOjE1NDIyMDoyQzI3ODozRDJBRDo2QTU4N0Q4MiIsInZpc2l0b3JfaWQiOiI0MDk3ODQ0MTc3MzkxODc3NTA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 13158c1436f4767d57c1d5751c2278fbd4b661a576923c45ef47fea9e86e0d84 |
| hovercard-subject-tag | pull_request:3247480857 |
| 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/144489/commits |
| twitter:image | https://opengraph.githubassets.com/89dde567e2608879c5e9a3f843b75ab50477a45db400bbdd809bb9db7e5c5eef/python/cpython/pull/144489 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/89dde567e2608879c5e9a3f843b75ab50477a45db400bbdd809bb9db7e5c5eef/python/cpython/pull/144489 |
| og:image:alt | We use a critical section similar to the approach in #132814. The ideas from an earlier PR #125417 are too complex (or not sufficient for thread-safety). We also avoid an incref/decref pair. Iss... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eendebakpt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-cache |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width