Title: gh-149557: Make itertools.pairwise safe under re-entry and concurrency by eendebakpt · Pull Request #150589 · python/cpython · GitHub
Open Graph Title: gh-149557: Make itertools.pairwise safe under re-entry and concurrency by eendebakpt · Pull Request #150589 · python/cpython
X Title: gh-149557: Make itertools.pairwise safe under re-entry and concurrency by eendebakpt · Pull Request #150589 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Add a re-entrancy guard so a same-thread re-entrant call (e.g. when the input iterator's __next__ calls back into pairwise.__next__) raises RuntimeError instead of crashing or producing garble...
X Description: Add a re-entrancy guard so a same-thread re-entrant call (e.g. when the input iterator's __next__ calls back into pairwise.__next__) raises RuntimeError instead of crashing or producing ga...
Opengraph URL: https://github.com/python/cpython/pull/150589
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:44944c7b-1286-a85b-2a3b-92ab2ab6c1c6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CAB0:2BAB8C:9AD984:D07DBB:6A593810 |
| html-safe-nonce | 9b1c7af6dfe72f6343c3495d8e8e50691f1b4c8e4c40f5805121b616dedb5290 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUIwOjJCQUI4Qzo5QUQ5ODQ6RDA3REJCOjZBNTkzODEwIiwidmlzaXRvcl9pZCI6IjgyMDcwODk3ODYwNjg0ODIwNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cc33b48be5fcda48b64236209cd0106a196531553a623f8aa86162f7a1e31e22 |
| hovercard-subject-tag | pull_request:3771188584 |
| 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/150589/commits |
| twitter:image | https://opengraph.githubassets.com/adb4093f0f5edb25b134f9ac8021348ecf2651ca768b9af6138622b6ef3f5280/python/cpython/pull/150589 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/adb4093f0f5edb25b134f9ac8021348ecf2651ca768b9af6138622b6ef3f5280/python/cpython/pull/150589 |
| og:image:alt | Add a re-entrancy guard so a same-thread re-entrant call (e.g. when the input iterator's __next__ calls back into pairwise.__next__) raises RuntimeError instead of crashing or producing garble... |
| 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 | 1b31c9453e1607b2781513084b4770f67217e549834c85b76960d7b13626f7c8 |
| 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 | 220f27779da5b92b5e17fcaef93e474cc8affba3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width