Title: Preserve raw ParamSpec bounds on Python 3.15 by youknowdot · Pull Request #9063 · RustPython/RustPython · GitHub
Open Graph Title: Preserve raw ParamSpec bounds on Python 3.15 by youknowdot · Pull Request #9063 · RustPython/RustPython
X Title: Preserve raw ParamSpec bounds on Python 3.15 by youknowdot · Pull Request #9063 · RustPython/RustPython
Description: Summary Extract ParamSpec's raw-bound retention from #8954, matching the Python 3.15.0 reference used by #8950. The constructor stores the supplied bound unchanged. None remains None, strings are not converted to ForwardRef, arbitrary objects retain identity, and bounds are not parsed or validated. TypeVar and TypeVarTuple behavior is unchanged. The unique commit changes the native ParamSpec constructor and preserves the original six-line Python regression in the existing typing snippet. Reference: CPython 3.15.0 source. Dependency and scope Stacked on #8950 at 80d3e52f32341d3158c659d82a927373b51b6439. The PR targets upstream stack/python-3.15-8950, so its displayed diff excludes the shared dependency. Review this PR's unique commit. The unique commit changes no files under Lib/ and inherits .python-version 3.15.0 from #8950. The former shared Python 3.14.8 version pin and TextIOWrapper deletion change have been removed. The Python 3.15.0 TextIOWrapper setter checks attachment before rejecting _CHUNK_SIZE deletion, so the old I/O prerequisite does not belong in this stack. Validation Independent source review against the exact CPython 3.15.0 reference passed. The unique native implementation and original Python regression are preserved; the comparison above contains only the two files described here. Configured commit hooks passed for 87b1a41026505e882d960ede3a67c12f36f5f553. No local build or runtime tests were run for this new Python 3.15 stack. Previous local and hosted results belong to the older Python 3.14.8 heads and do not validate this head. Normal hosted CI on this exact head is pending. AI-assisted with OpenAI Codex. Summary by CodeRabbit Compatibility Updated the project’s target and reported runtime version to Python 3.15. Updated development requirements and Python version references to 3.15. Bug Fixes Improved logarithm handling for large integers and objects that provide integer conversion. Expanded Windows timestamp support for dates before 1970, with clearer errors for out-of-range values. Corrected behavior for sequence repetition, AST construction, CSV dialect errors, and other standard-library operations. Improved formatting and validation error messages across several built-in features.
Open Graph Description: Summary Extract ParamSpec's raw-bound retention from #8954, matching the Python 3.15.0 reference used by #8950. The constructor stores the supplied bound unchanged. None remains None, strings a...
X Description: Summary Extract ParamSpec's raw-bound retention from #8954, matching the Python 3.15.0 reference used by #8950. The constructor stores the supplied bound unchanged. None remains None, strin...
Opengraph URL: https://github.com/RustPython/RustPython/pull/9063
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cb29ec18-c4d3-ca62-2a98-064ad679b9fe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B29C:36A3E:32CED76:43C7779:6B01FB56 |
| html-safe-nonce | 3485db72bc31e2d49720031f9dfe5c30636f087d2c60bfd68b55d0d8b6e0ad5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjlDOjM2QTNFOjMyQ0VENzY6NDNDNzc3OTo2QjAxRkI1NiIsInZpc2l0b3JfaWQiOiIzNTY1NzI5MzQ0NjgyODUxMTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 84e4f4429253a819f79a7a133b51dbfdcbb2152b9ba5a2bc44094fdcfbf37453 |
| hovercard-subject-tag | pull_request:4811038735 |
| 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/9063/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Summary Extract ParamSpec's raw-bound retention from #8954, matching the Python 3.15.0 reference used by #8950. The constructor stores the supplied bound unchanged. None remains None, strings a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width