René's URL Explorer Experiment


Title: Update XML libraries and tests to CPython 3.15.2 by youknowdot · Pull Request #9898 · RustPython/RustPython · GitHub

Open Graph Title: Update XML libraries and tests to CPython 3.15.2 by youknowdot · Pull Request #9898 · RustPython/RustPython

X Title: Update XML libraries and tests to CPython 3.15.2 by youknowdot · Pull Request #9898 · RustPython/RustPython

Description: Summary Update the XML library group and canonical tests with scripts/update_lib from official CPython v3.15.2 (11 files). No Rust, dependency, CI, or tooling changes. ElementTree now uses StartDoctypeDeclHandler instead of reconstructing a doctype from default-handler text. This fixes the existing pure-Python test_doctype and test_subclass_doctype failures without a native parser workaround; remove their expected-failure markers. Preserve non-XML whitespace in ElementTree indentation/canonicalization and DOM whitespace handling. Quote namespace values correctly in SAX XMLGenerator. Import the corresponding canonical regression tests. Remove redundant native accelerator expected-success overrides (their base tests are no longer marked). This is independent of #9895: its Rust document-boundary fix and its two test_parsing_error / test_resource_warnings_failed_iteration marker removals are not included here. Both PRs touch test_xml_etree.py, but at different cases. Remaining native gaps Seven newly imported test methods expose existing RustPython parser limitations, marked expected-failure rather than changing assertions or silently skipping execution: Two minidom tests need DTD element-declaration callbacks. Two pyexpat tests require character-handler reentrancy rejection before incomplete-document errors. Two pyexpat tests require external-entity callback dispatch and subparser handling. One shared ElementTree test exposes an error column one byte early after a large chunk boundary. These markers document missing native behavior; this PR does not claim to fix it. No new project-specific tests were invented. Verification Existing baseline RustPython release executable with this updated Lib: all 8 XML test modules passed, 933 tests run, 31 skipped, with expected failures retained as above. CPython 3.15.2 against canonical upstream Lib/test (without RustPython-only failure markers): all 8 modules passed, 933 tests run, 18 skipped. Focused unmarked RustPython doctype cases: 2 passed. git diff --check and all applicable commit hooks passed. Fresh workspace/C-API/Clippy builds and performance measurements were not run; no Rust code changed and existing unrelated builds were preserved. Windows/macOS behavior awaits CI. Existing skips/expected failures are not full compatibility coverage.

Open Graph Description: Summary Update the XML library group and canonical tests with scripts/update_lib from official CPython v3.15.2 (11 files). No Rust, dependency, CI, or tooling changes. ElementTree now uses StartDo...

X Description: Summary Update the XML library group and canonical tests with scripts/update_lib from official CPython v3.15.2 (11 files). No Rust, dependency, CI, or tooling changes. ElementTree now uses StartDo...

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

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:f539961c-0716-330b-254e-4a102c3b600a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id980C:3CBB3E:27A414F:329C963:6B01DE67
html-safe-nonce1cd0251e2b5fd7e70c69238f95dac3f58d68cdb758e5eef58ce795380a6f916b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODBDOjNDQkIzRToyN0E0MTRGOjMyOUM5NjM6NkIwMURFNjciLCJ2aXNpdG9yX2lkIjoiNzMzNzIwNzYzNTU5NjQwMjI3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac84a98e6c3b604924ce2602354200883c08263db4aec26ed5b7528dcebbe44957
hovercard-subject-tagpull_request:5348850670
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/9898/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 Update the XML library group and canonical tests with scripts/update_lib from official CPython v3.15.2 (11 files). No Rust, dependency, CI, or tooling changes. ElementTree now uses StartDo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/9898/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9898%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%2F9898%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/9898/files
Reloadhttps://github.com/RustPython/RustPython/pull/9898/files
Reloadhttps://github.com/RustPython/RustPython/pull/9898/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:update/xml-libs-3152-20261117https://github.com/youknowdot/RustPython/tree/update/xml-libs-3152-20261117
Conversation 5 https://github.com/RustPython/RustPython/pull/9898
Commits 1 https://github.com/RustPython/RustPython/pull/9898/commits
Checks 20 https://github.com/RustPython/RustPython/pull/9898/checks
Files changed https://github.com/RustPython/RustPython/pull/9898/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9898/files
Update XML libraries and tests to CPython 3.15.2 https://github.com/RustPython/RustPython/pull/9898/files#top
Show all changes 1 commit https://github.com/RustPython/RustPython/pull/9898/files
2155525 Update XML libraries and tests to CPython 3.15.2 codex Nov 17, 2026 https://github.com/RustPython/RustPython/pull/9898/commits/21555252ab67333795ea1ab3e5f53a391db5c6ef
Clear filters https://github.com/RustPython/RustPython/pull/9898/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9898/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9898/files
test_minidom.py https://github.com/RustPython/RustPython/pull/9898/files#diff-f73c8c572aa3351079f3e594b5c0f1c34e20e9e1e7dd8f5474cbe745dfd9f003
test_pyexpat.py https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
test_sax.py https://github.com/RustPython/RustPython/pull/9898/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
test_xml_etree.py https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
test_xml_etree_c.py https://github.com/RustPython/RustPython/pull/9898/files#diff-f6a8b0add3c473134d7ff3bebba5693bb02a850fcfa6e27800925f849e221285
expatbuilder.py https://github.com/RustPython/RustPython/pull/9898/files#diff-fa624398f98240513efd35c52f8985aea7a9c85e99d040a3bb78fce27ffdc7b0
minidom.py https://github.com/RustPython/RustPython/pull/9898/files#diff-365c30899ded02b18a2d8f92de47af6ca213eefe7883064c8723598da600ea42
ElementTree.py https://github.com/RustPython/RustPython/pull/9898/files#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
__init__.py https://github.com/RustPython/RustPython/pull/9898/files#diff-6524099d0fe7770e2ebf4d684cf1f274b69784a4a529e10ffac5b1002e56a7f5
saxutils.py https://github.com/RustPython/RustPython/pull/9898/files#diff-54266e11eb89b639ecacc56bfe973c97902ad9ead913611060c8b9f930b29af0
xmlreader.py https://github.com/RustPython/RustPython/pull/9898/files#diff-13fce1e35bfa858066395950c4e650bedffb3608aa8edb6a3fb0166bfa81a4d7
Lib/test/test_minidom.pyhttps://github.com/RustPython/RustPython/pull/9898/files#diff-f73c8c572aa3351079f3e594b5c0f1c34e20e9e1e7dd8f5474cbe745dfd9f003
View file https://github.com/youknowdot/RustPython/blob/21555252ab67333795ea1ab3e5f53a391db5c6ef/Lib/test/test_minidom.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9898/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9898/files#diff-f73c8c572aa3351079f3e594b5c0f1c34e20e9e1e7dd8f5474cbe745dfd9f003
https://github.com/RustPython/RustPython/pull/9898/files#diff-f73c8c572aa3351079f3e594b5c0f1c34e20e9e1e7dd8f5474cbe745dfd9f003
Lib/test/test_pyexpat.pyhttps://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
View file https://github.com/youknowdot/RustPython/blob/21555252ab67333795ea1ab3e5f53a391db5c6ef/Lib/test/test_pyexpat.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9898/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
https://github.com/RustPython/RustPython/pull/9898/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d
Lib/test/test_sax.pyhttps://github.com/RustPython/RustPython/pull/9898/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
View file https://github.com/youknowdot/RustPython/blob/21555252ab67333795ea1ab3e5f53a391db5c6ef/Lib/test/test_sax.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9898/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9898/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
https://github.com/RustPython/RustPython/pull/9898/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
Lib/test/test_xml_etree.pyhttps://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
View file https://github.com/youknowdot/RustPython/blob/21555252ab67333795ea1ab3e5f53a391db5c6ef/Lib/test/test_xml_etree.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9898/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
https://github.com/RustPython/RustPython/pull/9898/files#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9898/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9898/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.