René's URL Explorer Experiment


Title: Align regex, dataclasses and typing with Python 3.15 by youknowdot · Pull Request #9189 · RustPython/RustPython · GitHub

Open Graph Title: Align regex, dataclasses and typing with Python 3.15 by youknowdot · Pull Request #9189 · RustPython/RustPython

X Title: Align regex, dataclasses and typing with Python 3.15 by youknowdot · Pull Request #9189 · RustPython/RustPython

Description: Summary Extract the regex/dataclasses/typing compatibility batch from #8954, after #9179 landed. Add native re.Pattern.prefixmatch and re.Scanner.prefixmatch aliases. Refresh the canonical regex consumers, dataclasses annotation handling, typing APIs, and associated regression tests/helpers. Import all library changes through scripts/update_lib from CPython 3.15.0 commit d220409a13b77de7a6c30abe16ea90db01528edc, preserving existing RustPython markers and canonical guards. The independent diff is 15 files: two native method attributes, five production library modules, and their tests/fixtures. No additional local skips, recursion-limit changes, or duplicate snippets were introduced. Validation Local validation used this commit on main 9f6f771965e93d0405bd2ab7958e084f82484f38. Main subsequently advanced to 3f55cf4af040a053892bec26061a1e472cd49b5f via #9163; there is no direct file overlap with this batch, and a source-only merge check is clean. Hosted merge CI will validate that newer integration. On this commit: Normal commit hooks passed. Fresh release build and startup/loaded-library-path checks passed. Eight candidate suites passed: selected test_re, test_dataclasses, test_typing, test_type_aliases, test_type_annotations, test_type_params, test_genericalias, and test_annotationlib. VM getpath tests (5), the native fork-completion fixture (1), and default-profile C-API tests (123 passed, 4 ignored) passed. C-API-generated bytecode was preserved separately after the initial full-tree audit flagged it; final source/full-tree checks are clean. The identical patch on its previous #9179-head base also passed all eight pinned CPython oracle suites, workspace native/doctests (1,394 passed), C-API tests (123 passed), and both strict Clippy gates. Those are prior-checkpoint results, not new full-aggregate claims for this rebased commit. Local regex coverage excludes only ReTests.test_regression_gh94675 via the external runner because this environment previously denied its forkserver Unix-socket operation. The canonical source has no added local skip, and hosted CI keeps the full suite. Existing skips/expected failures and CPython-only exclusions remain visible; no omitted behavior is claimed as covered. Assisted-by: OpenAI Codex:model version unavailable

Open Graph Description: Summary Extract the regex/dataclasses/typing compatibility batch from #8954, after #9179 landed. Add native re.Pattern.prefixmatch and re.Scanner.prefixmatch aliases. Refresh the canonical regex c...

X Description: Summary Extract the regex/dataclasses/typing compatibility batch from #8954, after #9179 landed. Add native re.Pattern.prefixmatch and re.Scanner.prefixmatch aliases. Refresh the canonical regex c...

Opengraph URL: https://github.com/RustPython/RustPython/pull/9189

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:055cb862-0815-eb4f-7b09-218968ed2520
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5D8:386611:1EE3AF:28D29A:6B022D7E
html-safe-nonceddf4a8430b5c874c497b79b3ed9b725ea2828a79b9ba3b398af63c4fdcaf5ceb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUQ4OjM4NjYxMToxRUUzQUY6MjhEMjlBOjZCMDIyRDdFIiwidmlzaXRvcl9pZCI6IjIwNTc0NjMzMDg1MjQ1OTY2MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccf43afc3b17b1fac00213028c57da0e124f225ee63a671ae7007e12bbc8f7dff
hovercard-subject-tagpull_request:4907936006
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/9189/files
twitter:imagehttps://avatars.githubusercontent.com/u/336763669?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/336763669?s=400&v=4
og:image:altSummary Extract the regex/dataclasses/typing compatibility batch from #8954, after #9179 landed. Add native re.Pattern.prefixmatch and re.Scanner.prefixmatch aliases. Refresh the canonical regex c...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/9189/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9189%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9189%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/9189/files
Reloadhttps://github.com/RustPython/RustPython/pull/9189/files
Reloadhttps://github.com/RustPython/RustPython/pull/9189/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests130 (130)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:split/regex-typing-315https://github.com/youknowdot/RustPython/tree/split/regex-typing-315
Conversation 8 https://github.com/RustPython/RustPython/pull/9189
Commits 1 https://github.com/RustPython/RustPython/pull/9189/commits
Checks 22 https://github.com/RustPython/RustPython/pull/9189/checks
Files changed https://github.com/RustPython/RustPython/pull/9189/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9189/files
Align regex, dataclasses and typing with Python 3.15 https://github.com/RustPython/RustPython/pull/9189/files#top
Show all changes 1 commit https://github.com/RustPython/RustPython/pull/9189/files
b408fa0 Align regex, dataclasses and typing with Python 3.15 youknowdot Oct 18, 2026 https://github.com/RustPython/RustPython/pull/9189/commits/b408fa0a3e8c4dde863c0eb182a2f938271b6c38
Clear filters https://github.com/RustPython/RustPython/pull/9189/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9189/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9189/files
dataclasses.py https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
__init__.py https://github.com/RustPython/RustPython/pull/9189/files#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
_compiler.py https://github.com/RustPython/RustPython/pull/9189/files#diff-3e776e84b7a95409df7edfbf70c18876df4409abd1c339f756cbd523188999a6
_parser.py https://github.com/RustPython/RustPython/pull/9189/files#diff-53600b74a08a996010a625ca6a0b8f493cb8ae097d7f427d521876b1b5d8afdb
__init__.py https://github.com/RustPython/RustPython/pull/9189/files#diff-212e368b34eb9b134f87e765787d6d26b747235a358e13da8922f83861c0d676
_types_proxy.py https://github.com/RustPython/RustPython/pull/9189/files#diff-bc34ea583c44575fc6a7ed2b17096de17bb61bce14d60ffb87c788d9e154671b
dataclass_module_3.py https://github.com/RustPython/RustPython/pull/9189/files#diff-2b62a1407e4351634c73d5c13ee4e7ee1d7e597cd13968cd5016672e4cd7de37
dataclass_module_3_str.py https://github.com/RustPython/RustPython/pull/9189/files#diff-d2fd876e4855ef79e9c7706b159f69281dc4b4619b8997a5239e4fbf7c125d27
dataclass_module_4.py https://github.com/RustPython/RustPython/pull/9189/files#diff-6c26f7c8650f16ae09e7c6574c3224193fb43856fd47967b6ac1d7471090183f
dataclass_module_4_str.py https://github.com/RustPython/RustPython/pull/9189/files#diff-8a89f2015bab969865c2cd682cd7cfd41a0795c491820b7a2f95d1cd4260da24
test_re.py https://github.com/RustPython/RustPython/pull/9189/files#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
test_type_aliases.py https://github.com/RustPython/RustPython/pull/9189/files#diff-fbb72c37839a4f1c6b2200174b4d12d023e2cdf86e6818332389fcc77daeb487
test_typing.py https://github.com/RustPython/RustPython/pull/9189/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
typing.py https://github.com/RustPython/RustPython/pull/9189/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
_sre.rs https://github.com/RustPython/RustPython/pull/9189/files#diff-62bafdd789f1a10e570be6dbf27f34faa786ff709b0fadcad41dbad4ab206e06
Lib/dataclasses.pyhttps://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
View file https://github.com/youknowdot/RustPython/blob/b408fa0a3e8c4dde863c0eb182a2f938271b6c38/Lib/dataclasses.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9189/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 18, 2026https://github.com/RustPython/RustPython/pull/9189/files#r4307262368
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/0854bfc38139c0d2b58a9d5d71f5ad92840cf0c17144621e462b474041793354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50322d79656c6c6f773f7374796c653d666c6174
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9189/files
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
https://github.com/RustPython/RustPython/pull/9189/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9189/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9189/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.