René's URL Explorer Experiment


Title: native _json, _pickle, pyexpat, and _elementtree by youknowone · Pull Request #8741 · RustPython/RustPython · GitHub

Open Graph Title: native _json, _pickle, pyexpat, and _elementtree by youknowone · Pull Request #8741 · RustPython/RustPython

X Title: native _json, _pickle, pyexpat, and _elementtree by youknowone · Pull Request #8741 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: One of checkbox below must be checked. I did not use AI to write the code of this patch. This PR follows our AI policy Summary Split out of #8737 / #8663: the native stdlib accelerators only. T...

X Description: One of checkbox below must be checked. I did not use AI to write the code of this patch. This PR follows our AI policy Summary Split out of #8737 / #8663: the native stdlib accelerators only. T...

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

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/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:3f076cd3-f862-fad2-6644-0941fd265fc4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE156:2DCAE8:221CF47:2E7ACC6:6B0029B6
html-safe-noncefdd7aa21937d1c08bc5e6ea87bd6fed53225aefab21560a62db497e97808ed40
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTU2OjJEQ0FFODoyMjFDRjQ3OjJFN0FDQzY6NkIwMDI5QjYiLCJ2aXNpdG9yX2lkIjoiNDYwNDQ1NjI3NjAwMzQwMDExOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac153d64e1fe3765ee8ffddd2cb59b96a1e556171ccf7fd0991105c740e7ac2070
hovercard-subject-tagpull_request:4576477325
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/8741/commits
twitter:imagehttps://opengraph.githubassets.com/8e93b9b5e2b4951177a2c3fd0425143ec4099018fabdd42b832715a0af39426a/RustPython/RustPython/pull/8741
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8e93b9b5e2b4951177a2c3fd0425143ec4099018fabdd42b832715a0af39426a/RustPython/RustPython/pull/8741
og:image:altOne of checkbox below must be checked. I did not use AI to write the code of this patch. This PR follows our AI policy Summary Split out of #8737 / #8663: the native stdlib accelerators only. T...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowone
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/8741/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8741%2Fcommits
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%2F8741%2Fcommits
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%2Fcommits&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/8741/commits
Reloadhttps://github.com/RustPython/RustPython/pull/8741/commits
Reloadhttps://github.com/RustPython/RustPython/pull/8741/commits
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests144 (144)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
https://github.com/RustPython/RustPython
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:native-json-pickle-xmlhttps://github.com/youknowone/RustPython/tree/native-json-pickle-xml
Conversationhttps://github.com/RustPython/RustPython/pull/8741
Commits21 (21)https://github.com/RustPython/RustPython/pull/8741/commits
Checkshttps://github.com/RustPython/RustPython/pull/8741/checks
Files changedhttps://github.com/RustPython/RustPython/pull/8741/files
native _json, _pickle, pyexpat, and _elementtreehttps://github.com/RustPython/RustPython/pull/8741/commits#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:native-json-pickle-xmlhttps://github.com/youknowone/RustPython/tree/native-json-pickle-xml
_json: add native make_encoder (c_make_encoder)https://github.com/RustPython/RustPython/pull/8741/commits/d76be235c7f35cb7c305480b20e2b913fd9567b8
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
d76be23https://github.com/RustPython/RustPython/pull/8741/commits/d76be235c7f35cb7c305480b20e2b913fd9567b8
https://github.com/RustPython/RustPython/tree/d76be235c7f35cb7c305480b20e2b913fd9567b8
pyexpat: add UseForeignDTD, fix silently swallowed handler exceptionshttps://github.com/RustPython/RustPython/pull/8741/commits/4b4bf121c8f24f6b91168924777a4e28c8e76476
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
4b4bf12https://github.com/RustPython/RustPython/pull/8741/commits/4b4bf121c8f24f6b91168924777a4e28c8e76476
https://github.com/RustPython/RustPython/tree/4b4bf121c8f24f6b91168924777a4e28c8e76476
pyexpat: support multi-chunk Parse()/ParseFile() feedshttps://github.com/RustPython/RustPython/pull/8741/commits/58e7dfeebd8e56ad35da145d60709ce0291ae1c3
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
58e7dfehttps://github.com/RustPython/RustPython/pull/8741/commits/58e7dfeebd8e56ad35da145d60709ce0291ae1c3
https://github.com/RustPython/RustPython/tree/58e7dfeebd8e56ad35da145d60709ce0291ae1c3
test: drop stale expectedFailure markers fixed by the pyexpat changeshttps://github.com/RustPython/RustPython/pull/8741/commits/4592d3282e5f9e2792f3d4ab92c4fa244a474499
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
4592d32https://github.com/RustPython/RustPython/pull/8741/commits/4592d3282e5f9e2792f3d4ab92c4fa244a474499
https://github.com/RustPython/RustPython/tree/4592d3282e5f9e2792f3d4ab92c4fa244a474499
pyexpat: drive a single background EventReader for true incremental Parse()https://github.com/RustPython/RustPython/pull/8741/commits/a59da4024361900436cf8972586ce12baf032c52
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
a59da40https://github.com/RustPython/RustPython/pull/8741/commits/a59da4024361900436cf8972586ce12baf032c52
https://github.com/RustPython/RustPython/tree/a59da4024361900436cf8972586ce12baf032c52
pyexpat: add a Sync fallback backend for targets without threadshttps://github.com/RustPython/RustPython/pull/8741/commits/38795dfd377d971c71f65453c5a48ff0b37f0ccc
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
38795dfhttps://github.com/RustPython/RustPython/pull/8741/commits/38795dfd377d971c71f65453c5a48ff0b37f0ccc
https://github.com/RustPython/RustPython/tree/38795dfd377d971c71f65453c5a48ff0b37f0ccc
_pickle: native Pickler, Unpickler and PickleBufferhttps://github.com/RustPython/RustPython/pull/8741/commits/5f9c3304ac6e0cc520a3a55fc572b56c7c441153
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
5f9c330https://github.com/RustPython/RustPython/pull/8741/commits/5f9c3304ac6e0cc520a3a55fc572b56c7c441153
https://github.com/RustPython/RustPython/tree/5f9c3304ac6e0cc520a3a55fc572b56c7c441153
_pickle: raise the pickle.find_class audit eventhttps://github.com/RustPython/RustPython/pull/8741/commits/cfeaf81e538c289b9b2a025e351aa0a778404e8b
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
cfeaf81https://github.com/RustPython/RustPython/pull/8741/commits/cfeaf81e538c289b9b2a025e351aa0a778404e8b
https://github.com/RustPython/RustPython/tree/cfeaf81e538c289b9b2a025e351aa0a778404e8b
_pickle: avoid temporary buffers on the save fast pathshttps://github.com/RustPython/RustPython/pull/8741/commits/b5fb603ef69f19f8ca83907298594d2f128a9ede
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
b5fb603https://github.com/RustPython/RustPython/pull/8741/commits/b5fb603ef69f19f8ca83907298594d2f128a9ede
https://github.com/RustPython/RustPython/tree/b5fb603ef69f19f8ca83907298594d2f128a9ede
pyexpat: make the threaded backend fork-safehttps://github.com/RustPython/RustPython/pull/8741/commits/debdcfff0c1231452a442d27c7944943d57bde07
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
debdcffhttps://github.com/RustPython/RustPython/pull/8741/commits/debdcfff0c1231452a442d27c7944943d57bde07
https://github.com/RustPython/RustPython/tree/debdcfff0c1231452a442d27c7944943d57bde07
pyexpat: implement name interning via self.intern, matching libexpathttps://github.com/RustPython/RustPython/pull/8741/commits/95fc6537b8759b8e58ac510584df70ffdd122ebe
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
95fc653https://github.com/RustPython/RustPython/pull/8741/commits/95fc6537b8759b8e58ac510584df70ffdd122ebe
https://github.com/RustPython/RustPython/tree/95fc6537b8759b8e58ac510584df70ffdd122ebe
_elementtree: native Element, SubElement and ParseErrorhttps://github.com/RustPython/RustPython/pull/8741/commits/152dd3f811f842b7ccb3914ef2d11a184984f7c6
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
152dd3fhttps://github.com/RustPython/RustPython/pull/8741/commits/152dd3f811f842b7ccb3914ef2d11a184984f7c6
https://github.com/RustPython/RustPython/tree/152dd3f811f842b7ccb3914ef2d11a184984f7c6
_elementtree: native TreeBuilder and XMLParserhttps://github.com/RustPython/RustPython/pull/8741/commits/37e5e0b6e6c1bc9c661adc052d43a97a5bde1257
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
37e5e0bhttps://github.com/RustPython/RustPython/pull/8741/commits/37e5e0b6e6c1bc9c661adc052d43a97a5bde1257
https://github.com/RustPython/RustPython/tree/37e5e0b6e6c1bc9c661adc052d43a97a5bde1257
pyexpat: stop rescanning the whole line per position queryhttps://github.com/RustPython/RustPython/pull/8741/commits/04aee9e5a60e00a2e155c7bdd6883043d22c9ede
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
04aee9ehttps://github.com/RustPython/RustPython/pull/8741/commits/04aee9e5a60e00a2e155c7bdd6883043d22c9ede
https://github.com/RustPython/RustPython/tree/04aee9e5a60e00a2e155c7bdd6883043d22c9ede
_elementtree: charge Element.__deepcopy__ to the recursion budgethttps://github.com/RustPython/RustPython/pull/8741/commits/81dc2dff3ae95073275ea5cfeb8843e8514c4349
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
81dc2dfhttps://github.com/RustPython/RustPython/pull/8741/commits/81dc2dff3ae95073275ea5cfeb8843e8514c4349
https://github.com/RustPython/RustPython/tree/81dc2dff3ae95073275ea5cfeb8843e8514c4349
pyexpat: don't let a stale NeedMore end a Parse() earlyhttps://github.com/RustPython/RustPython/pull/8741/commits/1e905ad22b5e2dcac9020bfb1768bec34b2650b3
morealhttps://github.com/RustPython/RustPython/commits?author=moreal
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
1e905adhttps://github.com/RustPython/RustPython/pull/8741/commits/1e905ad22b5e2dcac9020bfb1768bec34b2650b3
https://github.com/RustPython/RustPython/tree/1e905ad22b5e2dcac9020bfb1768bec34b2650b3
Restore xml.etree test markers instead of skipTest in bodieshttps://github.com/RustPython/RustPython/pull/8741/commits/843e1e4c2e7fa831ab51ae847d83461589cf4de0
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
843e1e4https://github.com/RustPython/RustPython/pull/8741/commits/843e1e4c2e7fa831ab51ae847d83461589cf4de0
https://github.com/RustPython/RustPython/tree/843e1e4c2e7fa831ab51ae847d83461589cf4de0
Clone state before try_to_bool in pickle load_buildhttps://github.com/RustPython/RustPython/pull/8741/commits/6ee458fc14842a71c17a4416831667549d8748f8
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
6ee458fhttps://github.com/RustPython/RustPython/pull/8741/commits/6ee458fc14842a71c17a4416831667549d8748f8
https://github.com/RustPython/RustPython/tree/6ee458fc14842a71c17a4416831667549d8748f8
Drop decorative section-separator commentshttps://github.com/RustPython/RustPython/pull/8741/commits/a440cd4abdaa19f5eec7f72e0c1b31809aef5f49
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
a440cd4https://github.com/RustPython/RustPython/pull/8741/commits/a440cd4abdaa19f5eec7f72e0c1b31809aef5f49
https://github.com/RustPython/RustPython/tree/a440cd4abdaa19f5eec7f72e0c1b31809aef5f49
Represent pickle opcodes as an enumhttps://github.com/RustPython/RustPython/pull/8741/commits/90d161117603452b7de07244cf9378dacbcaff13
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
90d1611https://github.com/RustPython/RustPython/pull/8741/commits/90d161117603452b7de07244cf9378dacbcaff13
https://github.com/RustPython/RustPython/tree/90d161117603452b7de07244cf9378dacbcaff13
Use full paths for thread-only types in pyexpathttps://github.com/RustPython/RustPython/pull/8741/commits/40095e542c2977e63722e54064fb340ac2794d71
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
40095e5https://github.com/RustPython/RustPython/pull/8741/commits/40095e542c2977e63722e54064fb340ac2794d71
https://github.com/RustPython/RustPython/tree/40095e542c2977e63722e54064fb340ac2794d71
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.