Title: Add SymbolUsage::TypeParams by youknowone · Pull Request #5941 · RustPython/RustPython · GitHub
Open Graph Title: Add SymbolUsage::TypeParams by youknowone · Pull Request #5941 · RustPython/RustPython
X Title: Add SymbolUsage::TypeParams by youknowone · Pull Request #5941 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Improved handling of classes declared as global in parent scopes, ensuring correct naming in generated code. Added support for type parameters in symbol table analysis and code generation, treating them as cell variables for better closure and scope management. Bug Fixes Ensured emitted function and class names use the correct qualified name from the code object, improving consistency. Corrected variable name resolution logic for closures involving both cell and free variables, enhancing execution accuracy. Refactor Centralized logic for global class qualification names and unified symbol scope handling for type parameters.
Open Graph Description: Summary by CodeRabbit New Features Improved handling of classes declared as global in parent scopes, ensuring correct naming in generated code. Added support for type parameters in symbol table ...
X Description: Summary by CodeRabbit New Features Improved handling of classes declared as global in parent scopes, ensuring correct naming in generated code. Added support for type parameters in symbol table ...
Opengraph URL: https://github.com/RustPython/RustPython/pull/5941
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e6bd4171-169c-7a0e-8103-19429387c2ed |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE52:3410DA:2FB4C7:3D5493:696ADCD3 |
| html-safe-nonce | 020fb6944e286cd807d1f123cbc9beb2e9ae11ba3196dbb4c9b96ea474ca1401 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTUyOjM0MTBEQToyRkI0Qzc6M0Q1NDkzOjY5NkFEQ0QzIiwidmlzaXRvcl9pZCI6IjY2MDE0NDk5MjIxMDE5NTk4OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0758c81f6d0f2b87ea7b7e02a30c04f65db28f97c950273cff121d21951a9524 |
| hovercard-subject-tag | pull_request:2657558129 |
| 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/5941/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | Summary by CodeRabbit New Features Improved handling of classes declared as global in parent scopes, ensuring correct naming in generated code. Added support for type parameters in symbol table ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width