Title: Type alias type by youknowone · Pull Request #6011 · RustPython/RustPython · GitHub
Open Graph Title: Type alias type by youknowone · Pull Request #6011 · RustPython/RustPython
X Title: Type alias type by youknowone · Pull Request #6011 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Added a formal constructor for type aliases that enforces argument validation and provides clear error messages for incorrect usage. Introduced custom construction behavior for AST nodes enabling proper initialization with optional dictionaries. Bug Fixes Improved argument validation for object construction to better match expected Python behavior and error reporting. Refactor Unified and clarified string representation logic for certain types.
Open Graph Description: Summary by CodeRabbit New Features Added a formal constructor for type aliases that enforces argument validation and provides clear error messages for incorrect usage. Introduced custom construct...
X Description: Summary by CodeRabbit New Features Added a formal constructor for type aliases that enforces argument validation and provides clear error messages for incorrect usage. Introduced custom construct...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6011
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:96acf0ea-8687-dd8a-721e-ccc98f6bb239 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 98F2:D7362:A37F94:DD02B8:696ABDEE |
| html-safe-nonce | 159cd1e8b36b572b772abd5ad7eeab44534d296c5122be23d29b009e256a2236 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEYyOkQ3MzYyOkEzN0Y5NDpERDAyQjg6Njk2QUJERUUiLCJ2aXNpdG9yX2lkIjoiNTg4NjEyODc4ODMwOTk4MjcwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cc8977afeba9ab72ecefaac9133b544f2bda14741a23f16edd1dcf2d343f6953 |
| hovercard-subject-tag | pull_request:2680006782 |
| 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/6011/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 Added a formal constructor for type aliases that enforces argument validation and provides clear error messages for incorrect usage. Introduced custom construct... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| 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 | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width