René's URL Explorer Experiment


Title: Align mapping collection and call unpacking with Python 3.15 by youknowdot · Pull Request #9302 · RustPython/RustPython · GitHub

Open Graph Title: Align mapping collection and call unpacking with Python 3.15 by youknowdot · Pull Request #9302 · RustPython/RustPython

X Title: Align mapping collection and call unpacking with Python 3.15 by youknowdot · Pull Request #9302 · RustPython/RustPython

Description: Summary Split mapping collection, call-unpacking compatibility, and their canonical pickle-library dependency out of #8954, targeting CPython v3.15.0 (d220409a13b77de7a6c30abe16ea90db01528edc). Return exact lists directly from mapping methods, preserve non-TypeError iterator exceptions, and share collection logic with dictionary merging. Match Python 3.15 unpacking diagnostics and callback-error handling, while preserving the exact-dict stored-hash snapshot fast path. Synchronize complete test_extcall, pickle, pickletools, picklecommon, pickletester, test_pickle, and test_pickletools modules through scripts/update_lib. Retain existing RustPython decorators and the existing DocTestChecker block through the updater's reviewed-block mechanism. No manual assertion edits or new skips. Include the coherent pickle/pickletools library closure: bounded reads/frame handling, private-name fixtures, shared test contracts, themed disassembly and the in-process CLI. CI exposed why these changes must travel together: the old pickletester.test_bad_newobj_ex_args still expected functools.partial() argument after ** ..., while final CPython's test and _PyEval_FormatKwargsError both use Value after ** .... The native diagnostic is retained; the complete canonical library dependency is synchronized instead of weakening the test or reverting the Python 3.15 behavior. This is independent of #8944's ownership changes. No additional native changes were needed for the CI repair; the six pickle-related modules were regenerated and added as a dependent commit. Validation Normal repository commit hooks passed for both commits. Fresh default+capi build, VM threading/non-default/compiler checks and strict all-target VM Clippy passed for native head 980defeed312058286e63883fd8fe0659d289416, on tested base 5927ce6e1a6ed00187723510b224514c0a779e57. For the combined library commit, all 600 tracked native/Cargo source files were verified identical to that source-bound binary. No new native build or latest-main native execution is claimed. Eleven selected canonical pickle/pickletools tests passed with the combined libraries, including the exact CI-failing PyPicklingErrorTests.test_bad_newobj_ex_args, private-method/nested-class tests on Python/native picklers, and disassembly/CLI tests. Zero skips, expected failures or unexpected successes. Whole isolated invocation: 4.64s, 153.4 MiB peak sampled process-group RSS. Complete unchanged canonical test_extcall passed again with the combined libraries: six doctest suites and 194 source-bound examples. Separate isolated invocation: 4.09s, 133.7 MiB peak sampled process-group RSS. Both combined-library invocations used 120s/1GiB limits, private temporary directories, actual import-origin checks and full pre/post source/binary hash verification. The earlier 17-case differential and the initial pre-library test_extcall run remain historical evidence, not reruns on this combined tree. Full pickle/pickletools modules, oversized/malformed/sparse-memo and recursive cases, workspace/C-API aggregate suites and cross-platform integration remain unverified locally. Hosted CI must establish the combined change's integration status. AI-assisted implementation, source comparison and validation using OpenAI Codex.

Open Graph Description: Summary Split mapping collection, call-unpacking compatibility, and their canonical pickle-library dependency out of #8954, targeting CPython v3.15.0 (d220409a13b77de7a6c30abe16ea90db01528edc). Re...

X Description: Summary Split mapping collection, call-unpacking compatibility, and their canonical pickle-library dependency out of #8954, targeting CPython v3.15.0 (d220409a13b77de7a6c30abe16ea90db01528edc). Re...

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

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:1a3465db-9288-6cea-9534-6b3c0d64acfd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id96FE:20AA01:3C7F1C0:4CCDE45:6B01F376
html-safe-nonced835a8eca7a19b7a202a373060c8efbc4ac5140e1a8e13431c3758f10ece59e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkZFOjIwQUEwMTozQzdGMUMwOjRDQ0RFNDU6NkIwMUYzNzYiLCJ2aXNpdG9yX2lkIjoiODI1MjM0MDA5NjkyNjM0ODE1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbf43791cd5d67da36382515cf67199a77e12e36cecb62c0c2cd7aa0cf37df212
hovercard-subject-tagpull_request:4967042409
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/9302/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 Split mapping collection, call-unpacking compatibility, and their canonical pickle-library dependency out of #8954, targeting CPython v3.15.0 (d220409a13b77de7a6c30abe16ea90db01528edc). Re...
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/9302/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9302%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%2F9302%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/9302/files
Reloadhttps://github.com/RustPython/RustPython/pull/9302/files
Reloadhttps://github.com/RustPython/RustPython/pull/9302/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests133 (133)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/mapping-unpacking-315https://github.com/youknowdot/RustPython/tree/split/mapping-unpacking-315
Conversation 5 https://github.com/RustPython/RustPython/pull/9302
Commits 2 https://github.com/RustPython/RustPython/pull/9302/commits
Checks 20 https://github.com/RustPython/RustPython/pull/9302/checks
Files changed https://github.com/RustPython/RustPython/pull/9302/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9302/files
Align mapping collection and call unpacking with Python 3.15 https://github.com/RustPython/RustPython/pull/9302/files#top
Show all changes 2 commits https://github.com/RustPython/RustPython/pull/9302/files
980defe Align mapping collection and call unpacking with Python 3.15 youknowdot Oct 22, 2026 https://github.com/RustPython/RustPython/pull/9302/commits/980defeed312058286e63883fd8fe0659d289416
037a665 Update pickle and pickletools libraries for Python 3.15 youknowdot Oct 22, 2026 https://github.com/RustPython/RustPython/pull/9302/commits/037a665fb13feec94134a864b68997d1c5f8eae8
Clear filters https://github.com/RustPython/RustPython/pull/9302/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9302/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9302/files
pickle.py https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
pickletools.py https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
picklecommon.py https://github.com/RustPython/RustPython/pull/9302/files#diff-d052496fad2bbaefcd092fc9446825c6a06e72b0c367f5cafd536ad0e21ce98e
pickletester.py https://github.com/RustPython/RustPython/pull/9302/files#diff-7d6d2ff428aa3485c637b99154c65cca68ef71ac4e7d4cfe373ac8b1e4e17ff2
test_extcall.py https://github.com/RustPython/RustPython/pull/9302/files#diff-007057246211e6316535b427bd7b5ed8c03963bff25e4f2931b0168f50dbc594
test_pickle.py https://github.com/RustPython/RustPython/pull/9302/files#diff-eabc91c9e7a2586ffc6ca849d6636e74e28825a4515745c280b045dbdf857e39
test_pickletools.py https://github.com/RustPython/RustPython/pull/9302/files#diff-330fff609bcacbb6ae0c9813d366f0d8fffa2f9f69723ba45c8c51dd36d322d7
dict.rs https://github.com/RustPython/RustPython/pull/9302/files#diff-da22219fe05502509c75f7b1ba56079fecf076601f219531bef523705764e68b
frame.rs https://github.com/RustPython/RustPython/pull/9302/files#diff-03f2741d7d424014f3d2f0c82226be52fa58134aab34bf0780714ee67a248deb
mapping.rs https://github.com/RustPython/RustPython/pull/9302/files#diff-ad19197ddbfcf0dcce56ff24eb16a115978caa59c027276d359ec5561647bdf6
Lib/pickle.pyhttps://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
View file https://github.com/youknowdot/RustPython/blob/037a665fb13feec94134a864b68997d1c5f8eae8/Lib/pickle.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9302/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
https://github.com/RustPython/RustPython/pull/9302/files#diff-0e6904a03cced1cde99717e889a6a20715fd002d7186a64e77477c2d99c32a47
Lib/pickletools.pyhttps://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
View file https://github.com/youknowdot/RustPython/blob/037a665fb13feec94134a864b68997d1c5f8eae8/Lib/pickletools.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9302/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
https://github.com/RustPython/RustPython/pull/9302/files#diff-7c9876c472c00ee480dbb878e21dd2921ac802cb3f7e0aa4a2ed68782486707e
Lib/test/picklecommon.pyhttps://github.com/RustPython/RustPython/pull/9302/files#diff-d052496fad2bbaefcd092fc9446825c6a06e72b0c367f5cafd536ad0e21ce98e
View file https://github.com/youknowdot/RustPython/blob/037a665fb13feec94134a864b68997d1c5f8eae8/Lib/test/picklecommon.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9302/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9302/files#diff-d052496fad2bbaefcd092fc9446825c6a06e72b0c367f5cafd536ad0e21ce98e
https://github.com/RustPython/RustPython/pull/9302/files#diff-d052496fad2bbaefcd092fc9446825c6a06e72b0c367f5cafd536ad0e21ce98e
https://github.com/RustPython/RustPython/pull/9302/files#diff-d052496fad2bbaefcd092fc9446825c6a06e72b0c367f5cafd536ad0e21ce98e
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9302/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9302/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.