René's URL Explorer Experiment


Title: Match namereplace private name records to CPython UCD tables by youknowdot · Pull Request #9827 · RustPython/RustPython · GitHub

Open Graph Title: Match namereplace private name records to CPython UCD tables by youknowdot · Pull Request #9827 · RustPython/RustPython

X Title: Match namereplace private name records to CPython UCD tables by youknowdot · Pull Request #9827 · RustPython/RustPython

Description: Summary Port CPython 3.15's UCD-file-order private name records used by namereplace. CPython's Tools/unicode/makeunicodedata.py places name aliases at U+F0000 and named sequences at U+F0200. Its private getname callback includes these records for namereplace, while public unicodedata.name excludes them. Generate equivalent ordered tables from the already vendored UCD files, keeping existing public lookups unchanged. For example U+F0000 now produces \N{NULL} and U+F0200 produces \N{KEYCAP NUMBER SIGN}, rather than numeric escapes. Validation Compared every record against CPython 3.15.2: 481 aliases and 461 named sequences, including public name(..., None) and out-of-range boundaries. cargo test -p rustpython-unicode --all-features: 5 passed. Unicode crate strict all-target/all-feature Clippy passed. cargo check -p rustpython-common passed. Commit hooks passed; added Python snippet regression assertions. Independent review found no blocking issue. Full VM runtime tests not yet run on this patch due limited disk; draft pending CI. Scope This does not fix the two remaining test_unicodedata expected failures concerning lazy module import/reload and compiler name escapes. Those markers remain unchanged. Proper shared provider lifecycle and Ruff parser callback need separate work, without accepting unsafe foreign pointers or introducing a fake capsule ABI. The casing/checksum fix is separate in #9824; no casing logic is duplicated here. Summary by CodeRabbit New Features Unicode name replacement now recognizes designated code points for aliases and named sequences, producing their corresponding names in encoded output. Other valid Unicode characters continue to use their standard character names, while invalid code points retain the existing numeric escape behavior. Tests Added coverage for alias and named-sequence replacements, range boundaries, and fallback behavior.

Open Graph Description: Summary Port CPython 3.15's UCD-file-order private name records used by namereplace. CPython's Tools/unicode/makeunicodedata.py places name aliases at U+F0000 and named sequences at U+F0200...

X Description: Summary Port CPython 3.15's UCD-file-order private name records used by namereplace. CPython's Tools/unicode/makeunicodedata.py places name aliases at U+F0000 and named sequences at...

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

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:e3f17dd7-80c2-32fe-3538-8757a4f16f3b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD350:29FFA9:3790127:4660346:6B01E95B
html-safe-noncee1f7e1a4265e8534152fff8e620b285df45c7b4f457ce2debfc029d69ef7ffab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzUwOjI5RkZBOTozNzkwMTI3OjQ2NjAzNDY6NkIwMUU5NUIiLCJ2aXNpdG9yX2lkIjoiNTk0Nzg5MDI4ODE4MTg0NTM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac03973e55614ec6d9d6a10101e49bf21e5a428a376509f7eb00388f9bc5f034b4
hovercard-subject-tagpull_request:5291087875
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/9827/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 Port CPython 3.15's UCD-file-order private name records used by namereplace. CPython's Tools/unicode/makeunicodedata.py places name aliases at U+F0000 and named sequences at U+F0200...
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/9827/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9827%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%2F9827%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/9827/files
Reloadhttps://github.com/RustPython/RustPython/pull/9827/files
Reloadhttps://github.com/RustPython/RustPython/pull/9827/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:fix/unicode-name-capi-20261113https://github.com/youknowdot/RustPython/tree/fix/unicode-name-capi-20261113
Conversation 6 https://github.com/RustPython/RustPython/pull/9827
Commits 1 https://github.com/RustPython/RustPython/pull/9827/commits
Checks 19 https://github.com/RustPython/RustPython/pull/9827/checks
Files changed https://github.com/RustPython/RustPython/pull/9827/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9827/files
Match namereplace private name records to CPython UCD tables https://github.com/RustPython/RustPython/pull/9827/files#top
Show all changes 1 commit https://github.com/RustPython/RustPython/pull/9827/files
255aa03 Match namereplace private name records to CPython UCD tables youknowdot Nov 13, 2026 https://github.com/RustPython/RustPython/pull/9827/commits/255aa03ddc9e158076f58910a31f4f2c140d2a6c
Clear filters https://github.com/RustPython/RustPython/pull/9827/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9827/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9827/files
encodings.rs https://github.com/RustPython/RustPython/pull/9827/files#diff-cc42102ffcea922982b6953483f23cb801ab3bc702632939ebdc4a324358eaf5
build.rs https://github.com/RustPython/RustPython/pull/9827/files#diff-464cd88cda362800866919e2a54b4e6cb8c07f5ffed8c30fb1e03d41da07cb6c
data.rs https://github.com/RustPython/RustPython/pull/9827/files#diff-480c96a0457ff3b2e9a82d6dc67c6fc70056e2abac2d92f84c21fb1073efabaa
stdlib_unicode_shared.py https://github.com/RustPython/RustPython/pull/9827/files#diff-5301339e71b8cf7edd8e56216c676b58f80369de84d070ab756d5567a95c17da
crates/common/src/encodings.rshttps://github.com/RustPython/RustPython/pull/9827/files#diff-cc42102ffcea922982b6953483f23cb801ab3bc702632939ebdc4a324358eaf5
View file https://github.com/youknowdot/RustPython/blob/255aa03ddc9e158076f58910a31f4f2c140d2a6c/crates/common/src/encodings.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9827/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9827/files#diff-cc42102ffcea922982b6953483f23cb801ab3bc702632939ebdc4a324358eaf5
https://github.com/RustPython/RustPython/pull/9827/files#diff-cc42102ffcea922982b6953483f23cb801ab3bc702632939ebdc4a324358eaf5
crates/unicode/build.rshttps://github.com/RustPython/RustPython/pull/9827/files#diff-464cd88cda362800866919e2a54b4e6cb8c07f5ffed8c30fb1e03d41da07cb6c
View file https://github.com/youknowdot/RustPython/blob/255aa03ddc9e158076f58910a31f4f2c140d2a6c/crates/unicode/build.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9827/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9827/files#diff-464cd88cda362800866919e2a54b4e6cb8c07f5ffed8c30fb1e03d41da07cb6c
https://github.com/RustPython/RustPython/pull/9827/files#diff-464cd88cda362800866919e2a54b4e6cb8c07f5ffed8c30fb1e03d41da07cb6c
https://github.com/RustPython/RustPython/pull/9827/files#diff-464cd88cda362800866919e2a54b4e6cb8c07f5ffed8c30fb1e03d41da07cb6c
https://github.com/RustPython/RustPython/pull/9827/files#diff-464cd88cda362800866919e2a54b4e6cb8c07f5ffed8c30fb1e03d41da07cb6c
crates/unicode/src/data.rshttps://github.com/RustPython/RustPython/pull/9827/files#diff-480c96a0457ff3b2e9a82d6dc67c6fc70056e2abac2d92f84c21fb1073efabaa
View file https://github.com/youknowdot/RustPython/blob/255aa03ddc9e158076f58910a31f4f2c140d2a6c/crates/unicode/src/data.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9827/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9827/files#diff-480c96a0457ff3b2e9a82d6dc67c6fc70056e2abac2d92f84c21fb1073efabaa
https://github.com/RustPython/RustPython/pull/9827/files#diff-480c96a0457ff3b2e9a82d6dc67c6fc70056e2abac2d92f84c21fb1073efabaa
https://github.com/RustPython/RustPython/pull/9827/files#diff-480c96a0457ff3b2e9a82d6dc67c6fc70056e2abac2d92f84c21fb1073efabaa
https://github.com/RustPython/RustPython/pull/9827/files#diff-480c96a0457ff3b2e9a82d6dc67c6fc70056e2abac2d92f84c21fb1073efabaa
extra_tests/snippets/stdlib_unicode_shared.pyhttps://github.com/RustPython/RustPython/pull/9827/files#diff-5301339e71b8cf7edd8e56216c676b58f80369de84d070ab756d5567a95c17da
View file https://github.com/youknowdot/RustPython/blob/255aa03ddc9e158076f58910a31f4f2c140d2a6c/extra_tests/snippets/stdlib_unicode_shared.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9827/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9827/files#diff-5301339e71b8cf7edd8e56216c676b58f80369de84d070ab756d5567a95c17da
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9827/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.