Title: fix(itertools): add re-entrancy guard to tee object by ever0de · Pull Request #5931 · RustPython/RustPython · GitHub
Open Graph Title: fix(itertools): add re-entrancy guard to tee object by ever0de · Pull Request #5931 · RustPython/RustPython
X Title: fix(itertools): add re-entrancy guard to tee object by ever0de · Pull Request #5931 · RustPython/RustPython
Description: Reference https://github.com/python/cpython/blob/f6650f9ad73359051f3e558c2431a109bc016664/Modules/itertoolsmodule.c#L948-L965 https://github.com/python/cpython/blob/f6650f9ad73359051f3e558c2431a109bc016664/Modules/itertoolsmodule.c#L772-L797 Summary by CodeRabbit Bug Fixes Improved stability of the tee iterator by preventing concurrent or recursive access, reducing the risk of runtime errors or inconsistent behavior. Users will now receive a clear error if re-entrancy is attempted.
Open Graph Description: Reference https://github.com/python/cpython/blob/f6650f9ad73359051f3e558c2431a109bc016664/Modules/itertoolsmodule.c#L948-L965 https://github.com/python/cpython/blob/f6650f9ad73359051f3e558c2431a10...
X Description: Reference https://github.com/python/cpython/blob/f6650f9ad73359051f3e558c2431a109bc016664/Modules/itertoolsmodule.c#L948-L965 https://github.com/python/cpython/blob/f6650f9ad73359051f3e558c2431a10...
Opengraph URL: https://github.com/RustPython/RustPython/pull/5931
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:be0a1c4b-09d8-22c6-a4d5-298222fceab0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD38:239416:1E7C063:284D2E1:6A5C96D5 |
| html-safe-nonce | a940c44083816bf9680c401d2b5ab90d4556dd682ec23ae8db0ed82894a13a80 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDM4OjIzOTQxNjoxRTdDMDYzOjI4NEQyRTE6NkE1Qzk2RDUiLCJ2aXNpdG9yX2lkIjoiODkxNDI4MzkwOTcyODczNjk4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5703c1d5ef3ac1a6d28f7a59f00d9f0bcba0da4b3d62991e119e8436256d9c83 |
| hovercard-subject-tag | pull_request:2654815093 |
| 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/RustPython/RustPython/pull/5931/files |
| twitter:image | https://avatars.githubusercontent.com/u/27040963?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/27040963?s=400&v=4 |
| og:image:alt | Reference https://github.com/python/cpython/blob/f6650f9ad73359051f3e558c2431a109bc016664/Modules/itertoolsmodule.c#L948-L965 https://github.com/python/cpython/blob/f6650f9ad73359051f3e558c2431a10... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width