| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:456b6e6a-133f-6f0a-168a-a44f731bf743 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B212:2454CC:3A9E0F5:4A5C7DB:6B0200F4 |
| html-safe-nonce | 02783d657c1ca6988227446e3c970eb893b17fe9226f013afc38efb7aaba29a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjEyOjI0NTRDQzozQTlFMEY1OjRBNUM3REI6NkIwMjAwRjQiLCJ2aXNpdG9yX2lkIjoiOTA5ODU1MDU4NjY5NzE4NzU3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 67b8a7c3bf1400e88f3985b04274685896bfa2d6d9f27860a6d84a78350821fe |
| hovercard-subject-tag | issue:4407814074 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/issues_fragments/issue_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/149571/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e91d1104cd594de18033b5200bb6a4d5e0a735cbaa571fd040964a75014a264/python/cpython/issues/149571 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e91d1104cd594de18033b5200bb6a4d5e0a735cbaa571fd040964a75014a264/python/cpython/issues/149571 |
| og:image:alt | In the Python implementation it returns empty iterator for Comment and ProcessingInstruction. In the C implementation it emits their content. >>> import xml.etree.ElementTree as ET >>> list(ET.Comm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
| Skip to content | https://github.com/python/cpython/issues/149571#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F149571 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F149571 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/issues/149571 |
| Reload | https://github.com/python/cpython/issues/149571 |
| Reload | https://github.com/python/cpython/issues/149571 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/149571 |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/149571 |
| Element.itertext() works differently in C and Python implementations | https://github.com/python/cpython/issues/149571#top |
| https://github.com/serhiy-storchaka |
| 3.13only security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22 |
| 3.14bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22 |
| 3.15bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22 |
| 3.16new features, bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.16%22 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| stdlibStandard Library Python modules in the Lib/ directory | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22 |
| topic-XML | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-XML%22 |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| on May 8, 2026 | https://github.com/python/cpython/issues/149571#issue-4407814074 |
| @scoder | https://github.com/scoder |
| gh-149571: Make Element.itertext consistent for Comment and ProcessingInstruction #149714 | https://github.com/python/cpython/pull/149714 |
| gh-149571: Fix the C implementation of Element.itertext() #149929 | https://github.com/python/cpython/pull/149929 |
| [3.15] gh-149571: Fix the C implementation of Element.itertext() (GH-149929) #150509 | https://github.com/python/cpython/pull/150509 |
| [3.14] gh-149571: Fix the C implementation of Element.itertext() (GH-149929) #150510 | https://github.com/python/cpython/pull/150510 |
| [3.13] gh-149571: Fix the C implementation of Element.itertext() (GH-149929) #150511 | https://github.com/python/cpython/pull/150511 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| topic-XML | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-XML%22 |
| 3.13only security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22 |
| 3.14bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22 |
| 3.15bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22 |
| 3.16new features, bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.16%22 |
| on May 8, 2026 | https://github.com/python/cpython/issues/149571#event-25313684555 |
| StanFromIreland | https://github.com/StanFromIreland |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| stdlibStandard Library Python modules in the Lib/ directory | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| on May 8, 2026 | https://github.com/python/cpython/issues/149571#event-25316380713 |
| hardiksingh5864 | https://github.com/hardiksingh5864 |
| on May 12, 2026 | https://github.com/python/cpython/issues/149571#event-25422932584 |
| Add news fragment for pythongh-149571 | https://github.com/hardiksingh5864/cpython/commit/6c97311aaf8eb4755c856e4a9d493d72fd942667 |
| pythongh-149571 | https://github.com/python/cpython/issues/149571 |
| 6c97311 | https://github.com/hardiksingh5864/cpython/commit/6c97311aaf8eb4755c856e4a9d493d72fd942667 |
| pythongh-149571: Make Element.itertext consistent for Comment and Pro… | https://github.com/hardiksingh5864/cpython/commit/2dfd4332d71e5cf76d9a85a8211e1f8c530bf366 |
| pythongh-149571 | https://github.com/python/cpython/issues/149571 |
| 2dfd433 | https://github.com/hardiksingh5864/cpython/commit/2dfd4332d71e5cf76d9a85a8211e1f8c530bf366 |
| pythongh-149571: Remove the linter issue | https://github.com/hardiksingh5864/cpython/commit/7c8cb36acd1edc1571ad301f9f45b69ad1eefa6f |
| pythongh-149571 | https://github.com/python/cpython/issues/149571 |
| 7c8cb36 | https://github.com/hardiksingh5864/cpython/commit/7c8cb36acd1edc1571ad301f9f45b69ad1eefa6f |
| pythongh-149571: Fixing the Ci failure | https://github.com/hardiksingh5864/cpython/commit/5df8ef0599fe06fd426a437e6c8ff051dbc7c07e |
| pythongh-149571 | https://github.com/python/cpython/issues/149571 |
| 5df8ef0 | https://github.com/hardiksingh5864/cpython/commit/5df8ef0599fe06fd426a437e6c8ff051dbc7c07e |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| on May 15, 2026 | https://github.com/python/cpython/issues/149571#issuecomment-4458377104 |
| https://github.com/scoder |
| scoder | https://github.com/scoder |
| on May 16, 2026 | https://github.com/python/cpython/issues/149571#issuecomment-4466834179 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| on May 16, 2026 | https://github.com/python/cpython/issues/149571#event-25613715343 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| on May 17, 2026 | https://github.com/python/cpython/issues/149571#issuecomment-4469899774 |
| #149929 | https://github.com/python/cpython/pull/149929 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| on May 17, 2026 | https://github.com/python/cpython/issues/149571#issuecomment-4469936389 |
| https://www.w3.org/TR/xml11/#NT-Comment | https://www.w3.org/TR/xml11/#NT-Comment |
| https://www.w3.org/TR/xml11/#NT-PI | https://www.w3.org/TR/xml11/#NT-PI |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| on May 27, 2026 | https://github.com/python/cpython/issues/149571#event-26009968453 |
| gh-149571: Fix the C implementation of Element.itertext() (GH-149929) | https://github.com/python/cpython/commit/7de4fcd44585f572acbcee23f5c7018b2b3f0983 |
| gh-149571 | https://github.com/python/cpython/issues/149571 |
| GH-149929 | https://github.com/python/cpython/pull/149929 |
| 7de4fcd | https://github.com/python/cpython/commit/7de4fcd44585f572acbcee23f5c7018b2b3f0983 |
| [3.13] gh-149571: Fix the C implementation of Element.itertext() (GH-… | https://github.com/python/cpython/commit/98a9ccbe39c26608a625b4b43f1ed90dcd1fc19b |
| gh-149571 | https://github.com/python/cpython/issues/149571 |
| GH-… | https://github.com/python/cpython/pull/149929 |
| 98a9ccb | https://github.com/python/cpython/commit/98a9ccbe39c26608a625b4b43f1ed90dcd1fc19b |
| [3.14] gh-149571: Fix the C implementation of Element.itertext() (GH-… | https://github.com/python/cpython/commit/27a18eb4658704370fef1b2e2d75dcc1b0c5fb4c |
| gh-149571 | https://github.com/python/cpython/issues/149571 |
| GH-… | https://github.com/python/cpython/pull/149929 |
| 27a18eb | https://github.com/python/cpython/commit/27a18eb4658704370fef1b2e2d75dcc1b0c5fb4c |
| [3.15] gh-149571: Fix the C implementation of Element.itertext() (GH-… | https://github.com/python/cpython/commit/d2b10e75c7093fd9637dc8428d94cb8c723f808d |
| gh-149571 | https://github.com/python/cpython/issues/149571 |
| GH-… | https://github.com/python/cpython/pull/149929 |
| d2b10e7 | https://github.com/python/cpython/commit/d2b10e75c7093fd9637dc8428d94cb8c723f808d |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| completed | https://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| on May 27, 2026 | https://github.com/python/cpython/issues/149571#event-26013108354 |
| Sign up for free | https://github.com/signup?return_to=https://github.com/python/cpython/issues/149571 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/python/cpython/issues/149571 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| 3.13only security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22 |
| 3.14bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22 |
| 3.15bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22 |
| 3.16new features, bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.16%22 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| stdlibStandard Library Python modules in the Lib/ directory | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22 |
| topic-XML | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-XML%22 |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |