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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:d2be88d9-7e12-f605-52fe-3815d03049cd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 86B6:3FC493:1CB76BD:298030F:6A58D65C |
| html-safe-nonce | 40861d0eb19919ae6933269f258d2fcaa2b9c387b03deaa9b89d4db229f24991 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkI2OjNGQzQ5MzoxQ0I3NkJEOjI5ODAzMEY6NkE1OEQ2NUMiLCJ2aXNpdG9yX2lkIjoiMjYyODc5MTk0NDI2NTM4OTY2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d6d2186782dba5ed4db183cb749366e33f14916f5222dddedf417d8745240995 |
| 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/_view_fragments/voltron/pull_requests/show/python/cpython/150589/pull_request_layout |
| 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 | 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