Title: raise TypeError when `__iter__` method is `None` by elmjag · Pull Request #7092 · RustPython/RustPython · GitHub
Open Graph Title: raise TypeError when `__iter__` method is `None` by elmjag · Pull Request #7092 · RustPython/RustPython
X Title: raise TypeError when `__iter__` method is `None` by elmjag · Pull Request #7092 · RustPython/RustPython
Description: Setting special __iter__ method to None is used to mark objects as non-iterable. https://docs.python.org/3/reference/datamodel.html#special-method-names Check if __iter__ is set to None and raise TypeError exception. Summary by CodeRabbit Bug Fixes Enhanced error reporting for iteration operations with clearer, more precise error messages when attempting to iterate over non-iterable objects Improved exception handling to distinguish between different iteration failure scenarios
Open Graph Description: Setting special __iter__ method to None is used to mark objects as non-iterable. https://docs.python.org/3/reference/datamodel.html#special-method-names Check if __iter__ is set to None and raise T...
X Description: Setting special __iter__ method to None is used to mark objects as non-iterable. https://docs.python.org/3/reference/datamodel.html#special-method-names Check if __iter__ is set to None and raise T...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7092
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e4a6cd82-74f3-6621-8454-7a8af83e7ae9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AC7C:E89C2:C3848A:10EF002:6A61A3B8 |
| html-safe-nonce | 46d1ddf5626651e9cdc0d1c164d5417c5e18f02ac7f9c0e056ca1066106e5bf6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzdDOkU4OUMyOkMzODQ4QToxMEVGMDAyOjZBNjFBM0I4IiwidmlzaXRvcl9pZCI6IjkxMTc4MDA5NjUxMTQ3OTkwMzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 635cf065a5d02f8c0694b0bfefaf1aae18454dbb01e0244be2cbf3044f59f2fd |
| hovercard-subject-tag | pull_request:3276356453 |
| 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/7092/files |
| twitter:image | https://avatars.githubusercontent.com/u/77584583?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/77584583?s=400&v=4 |
| og:image:alt | Setting special __iter__ method to None is used to mark objects as non-iterable. https://docs.python.org/3/reference/datamodel.html#special-method-names Check if __iter__ is set to None and raise T... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| 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 | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width