René's URL Explorer Experiment


Title: gh-57092: Add the validate option to xml.sax.saxutils.XMLGenerator by serhiy-storchaka · Pull Request #156800 · python/cpython · GitHub

Open Graph Title: gh-57092: Add the validate option to xml.sax.saxutils.XMLGenerator by serhiy-storchaka · Pull Request #156800 · python/cpython

X Title: gh-57092: Add the validate option to xml.sax.saxutils.XMLGenerator by serhiy-storchaka · Pull Request #156800 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: If validate is true, XMLGenerator checks that element and attribute names and namespace prefixes are valid, that all characters are legal, and that the content of processing instructions does not c...

X Description: If validate is true, XMLGenerator checks that element and attribute names and namespace prefixes are valid, that all characters are legal, and that the content of processing instructions does not c...

Opengraph URL: https://github.com/python/cpython/pull/156800

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:dbe12e21-446e-f977-f27d-f9ccd6f2ced4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA18A:2679E9:3214A3B:42DE218:6B01F725
html-safe-nonce3da7c9aa3976a8a7bfb53ce4d5577d216b76279f56fbdd33b89a90fcf9acdde4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMThBOjI2NzlFOTozMjE0QTNCOjQyREUyMTg6NkIwMUY3MjUiLCJ2aXNpdG9yX2lkIjoiNDYyMDE1MDU1MDM1OTU3MDIxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac970262f5abb9e66f986033a8d98b03f39922856fa02832286420f86778c66c36
hovercard-subject-tagpull_request:4415914238
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/156800/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/515cc4bca151c2024bd1ca65a921ac9c97788a8daf1a30554670817c7fa2661b/python/cpython/pull/156800
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/515cc4bca151c2024bd1ca65a921ac9c97788a8daf1a30554670817c7fa2661b/python/cpython/pull/156800
og:image:altIf validate is true, XMLGenerator checks that element and attribute names and namespace prefixes are valid, that all characters are legal, and that the content of processing instructions does not c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/156800#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156800
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%2Fpython%2Fcpython%2Fpull%2F156800
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/156800
Reloadhttps://github.com/python/cpython/pull/156800
Reloadhttps://github.com/python/cpython/pull/156800
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:gh-57092-xmlgen-validatehttps://github.com/serhiy-storchaka/cpython/tree/gh-57092-xmlgen-validate
Conversationhttps://github.com/python/cpython/pull/156800
Commits4 (4)https://github.com/python/cpython/pull/156800/commits
Checkshttps://github.com/python/cpython/pull/156800/checks
Files changedhttps://github.com/python/cpython/pull/156800/files
gh-57092: Add the validate option to xml.sax.saxutils.XMLGeneratorhttps://github.com/python/cpython/pull/156800#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:gh-57092-xmlgen-validatehttps://github.com/serhiy-storchaka/cpython/tree/gh-57092-xmlgen-validate
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 1, 2026https://github.com/python/cpython/pull/156800#issue-5316352484
Please reload this pagehttps://github.com/python/cpython/pull/156800
#149469https://github.com/python/cpython/pull/149469
#156799https://github.com/python/cpython/pull/156799
xml.sax.xmlreader.AttributesImpl allows empty string as attribute names #57092https://github.com/python/cpython/issues/57092
Please reload this pagehttps://github.com/python/cpython/pull/156800
serhiy-storchakahttps://github.com/serhiy-storchaka
September 1, 2026 22:44https://github.com/python/cpython/pull/156800#commits-pushed-fe4de69
https://github.com/serhiy-storchaka
pythongh-156797https://github.com/python/cpython/issues/156797
: Escape the namespace URI in xml.sax.saxutils.XMLGene…https://github.com/python/cpython/pull/156800/commits/fe4de69652b9eeb4656f052628d9428aa6cbaaed
fe4de69https://github.com/python/cpython/pull/156800/commits/fe4de69652b9eeb4656f052628d9428aa6cbaaed
https://github.com/serhiy-storchaka
pythongh-57092https://github.com/python/cpython/issues/57092
: Add the validate option to xml.sax.saxutils.XMLGeneratorhttps://github.com/python/cpython/pull/156800/commits/be69186f6f3ba4a76ad5a8d9dd8a54bf3339d084
be69186https://github.com/python/cpython/pull/156800/commits/be69186f6f3ba4a76ad5a8d9dd8a54bf3339d084
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/42de93a62e711b695439c818a6a7f41eb2761c45/.github/CODEOWNERS#L116
September 1, 2026 20:12https://github.com/python/cpython/pull/156800#event-30371619099
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 1, 2026 https://github.com/python/cpython/pull/156800#ref-issue-1198872535
xml.sax.xmlreader.AttributesImpl allows empty string as attribute names #57092 https://github.com/python/cpython/issues/57092
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 1, 2026https://github.com/python/cpython/pull/156800#event-30371625573
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Sep 1, 2026https://github.com/python/cpython/pull/156800#issuecomment-5499852002
Please reload this pagehttps://github.com/python/cpython/pull/156800
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#35822273https://app.readthedocs.org/projects/cpython-previews/builds/35822273/
347e135https://github.com/python/cpython/commit/347e1356822ecb2b836b33f5e8e64afdf8719d81
mainhttps://cpython-previews.readthedocs.io/en/main/
42de93ahttps://github.com/python/cpython/commit/42de93a62e711b695439c818a6a7f41eb2761c45
  🔍 Preview build   https://cpython-previews--156800.org.readthedocs.build/en/156800/
builtins/constants.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/builtins/constants.html
builtins/exceptions.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/builtins/exceptions.html
builtins/functions.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/builtins/functions.html
builtins/index.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/builtins/index.html
builtins/stdtypes.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/builtins/stdtypes.html
builtins/threadsafety.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/builtins/threadsafety.html
builtins/time-complexity.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/builtins/time-complexity.html
c-api/pyexpat.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/c-api/pyexpat.html
library/tkinter.dialogs.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/library/tkinter.dialogs.html
glossary.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/glossary.html
index.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/index.html
license.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/license.html
py-modindex.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/py-modindex.html
_static/tachyon-example-heatmap.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/_static/tachyon-example-heatmap.html
c-api/bool.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/c-api/bool.html
c-api/buffer.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/c-api/buffer.html
c-api/bytearray.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/c-api/bytearray.html
c-api/bytes.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/c-api/bytes.html
c-api/capsule.htmlhttps://cpython-previews--156800.org.readthedocs.build/en/156800/c-api/capsule.html
Please reload this pagehttps://github.com/python/cpython/pull/156800
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 1, 2026 https://github.com/python/cpython/pull/156800#ref-issue-3473986495
Add warning to xml.sax.saxutils.XMLGenerator about untrusted inputs #139478 https://github.com/python/cpython/issues/139478
https://github.com/serhiy-storchaka
Merge remote-tracking branch 'upstream/main' intohttps://github.com/python/cpython/pull/156800/commits/a3a266c485328af69d40579e0caa278dcace61db
pythongh-57092https://github.com/python/cpython/issues/57092
-xmlg…https://github.com/python/cpython/pull/156800/commits/a3a266c485328af69d40579e0caa278dcace61db
a3a266chttps://github.com/python/cpython/pull/156800/commits/a3a266c485328af69d40579e0caa278dcace61db
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 3, 2026 https://github.com/python/cpython/pull/156800#pullrequestreview-5100132338
View reviewed changes https://github.com/python/cpython/pull/156800/files/a3a266c485328af69d40579e0caa278dcace61db
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/156800#pullrequestreview-5100132338
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156800
Lib/xml/sax/saxutils.pyhttps://github.com/python/cpython/pull/156800/files/a3a266c485328af69d40579e0caa278dcace61db#diff-54266e11eb89b639ecacc56bfe973c97902ad9ead913611060c8b9f930b29af0
vstinnerhttps://github.com/vstinner
Sep 3, 2026https://github.com/python/cpython/pull/156800#discussion_r3923043611
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156800
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 3, 2026https://github.com/python/cpython/pull/156800#discussion_r3923198403
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156800
Lib/xml/sax/saxutils.pyhttps://github.com/python/cpython/pull/156800/files/a3a266c485328af69d40579e0caa278dcace61db#diff-54266e11eb89b639ecacc56bfe973c97902ad9ead913611060c8b9f930b29af0
vstinnerhttps://github.com/vstinner
Sep 3, 2026https://github.com/python/cpython/pull/156800#discussion_r3923055295
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156800
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 3, 2026https://github.com/python/cpython/pull/156800#issuecomment-5523874560
Please reload this pagehttps://github.com/python/cpython/pull/156800
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 3, 2026 https://github.com/python/cpython/pull/156800#pullrequestreview-5100421271
View reviewed changes https://github.com/python/cpython/pull/156800/files/a3a266c485328af69d40579e0caa278dcace61db
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/156800#pullrequestreview-5100421271
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156800
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 3, 2026https://github.com/python/cpython/pull/156800#event-30478948378
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 3, 2026https://github.com/python/cpython/pull/156800#issuecomment-5524281238
#149468https://github.com/python/cpython/issues/149468
#149469https://github.com/python/cpython/pull/149469
Please reload this pagehttps://github.com/python/cpython/pull/156800
https://github.com/serhiy-storchaka
Merge remote-tracking branch 'upstream/main' intohttps://github.com/python/cpython/pull/156800/commits/347e1356822ecb2b836b33f5e8e64afdf8719d81
pythongh-57092https://github.com/python/cpython/issues/57092
-xmlg…https://github.com/python/cpython/pull/156800/commits/347e1356822ecb2b836b33f5e8e64afdf8719d81
347e135https://github.com/python/cpython/pull/156800/commits/347e1356822ecb2b836b33f5e8e64afdf8719d81
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Nov 11, 2026https://github.com/python/cpython/pull/156800#event-35840358420
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156800
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/156800/files/a3a266c485328af69d40579e0caa278dcace61db
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/156800
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/156800
https://github.com/serhiy-storchaka
https://github.com/vstinner
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.