Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
html
parser.py
on
3.11
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 10, 2026
[3.11] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031) (#153042)
Show description for c2390b9
serhiy-storchaka
and
claude
authored
c2390b9
View commit details
Copy full SHA for c2390b9
View code at this point
Browse repository at this point
Commits on Oct 31, 2025
[3.11] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140842) (GH-140852)
Show description for a18b381
serhiy-storchaka
and
ambv
authored
a18b381
View commit details
Copy full SHA for a18b381
View code at this point
Browse repository at this point
Commits on Oct 7, 2025
[3.11] gh-135661: Fix CDATA section parsing in HTMLParser (GH-135665) (GH-137774) (GH-139659)
Show description for 22d5724
miss-islington
and
serhiy-storchaka
authored
22d5724
View commit details
Copy full SHA for 22d5724
View code at this point
Browse repository at this point
Commits on Sep 13, 2025
[3.11] gh-118350: Fix support of elements "textarea" and "title" in HTMLParser (GH-135310) (GH-137782)
Show description for 02feb83
3 people
authored
02feb83
View commit details
Copy full SHA for 02feb83
View code at this point
Browse repository at this point
Commits on Jul 22, 2025
[3.11] gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908) (GH-136920)
Show description for 3511c2e
miss-islington
and
serhiy-storchaka
authored
3511c2e
View commit details
Copy full SHA for 3511c2e
View code at this point
Browse repository at this point
Commits on Jul 12, 2025
[3.11] gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5 standard (GH-135930) (GH-136268) (#136291)
Show description for 228509e
4 people
authored
228509e
View commit details
Copy full SHA for 228509e
View code at this point
Browse repository at this point
[3.11] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664) (GH-136274)
Show description for d8f6297
3 people
authored
d8f6297
View commit details
Copy full SHA for d8f6297
View code at this point
Browse repository at this point
Commits on Jul 3, 2025
[3.11] gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464) (GH-135484)
Show description for f3c6f88
serhiy-storchaka
authored
f3c6f88
View commit details
Copy full SHA for f3c6f88
View code at this point
Browse repository at this point
Commits on Oct 12, 2021
bpo-45421: Remove dead code from html.parser (GH-28847)
Show description for 562c0d7
mardy
authored
562c0d7
View commit details
Copy full SHA for 562c0d7
View code at this point
Browse repository at this point
Commits on Oct 6, 2021
Fix typos in the Lib directory (GH-28775)
Show description for 745c9d9
cclauss
and
terryjreedy
authored
745c9d9
View commit details
Copy full SHA for 745c9d9
View code at this point
Browse repository at this point
Commits on Feb 1, 2021
bpo-41748: Handles unquoted attributes with commas (#24072)
Show description for 9eb11a1
karlcow
authored
9eb11a1
View commit details
Copy full SHA for 9eb11a1
View code at this point
Browse repository at this point
Commits on Aug 27, 2019
bpo-37328: remove deprecated HTMLParser.unescape (GH-14186)
Show description for fae0ed5
methane
authored
fae0ed5
View commit details
Copy full SHA for fae0ed5
View code at this point
Browse repository at this point
Commits on Jun 17, 2017
bpo-30629: Remove second call of str.lower() in html.parser.parse_endtag. (#2099)
Show description for 3358d58
narusemotoki
authored and
terryjreedy
committed
3358d58
View commit details
Copy full SHA for 3358d58
View code at this point
Browse repository at this point
Commits on May 24, 2017
Revert "Fixed a typo in the HTMLParser.feed docstrings" (#1771)
Show description for c842efc
serhiy-storchaka
authored
c842efc
View commit details
Copy full SHA for c842efc
View code at this point
Browse repository at this point
Commits on May 23, 2017
Fixed a typo in the HTMLParser.feed docstrings. The docstring started with an 'r', like a rawstring. (#1759)
dasdachs
authored and
serhiy-storchaka
committed
5ba1850
View commit details
Copy full SHA for 5ba1850
View code at this point
Browse repository at this point
Commits on Sep 8, 2016
#27364: fix "incorrect" uses of escape character in the stdlib.
Show description for 44b548d
bitdancer
committed
44b548d
View commit details
Copy full SHA for 44b548d
View code at this point
Browse repository at this point
Commits on May 26, 2016
Issue #27076: Doc, comment and tests spelling fixes
Show description for 46f5072
vadmium
committed
46f5072
View commit details
Copy full SHA for 46f5072
View code at this point
Browse repository at this point
Commits on Sep 6, 2015
#23144: merge with 3.4.
ezio-melotti
committed
20a2c64
View commit details
Copy full SHA for 20a2c64
View code at this point
Browse repository at this point
#23144: Make sure that HTMLParser.feed() returns all the data, even when convert_charrefs is True.
ezio-melotti
committed
6f2bb98
View commit details
Copy full SHA for 6f2bb98
View code at this point
Browse repository at this point
Commits on Aug 2, 2014
#21047: set the default value for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker Peksag.
ezio-melotti
committed
6fc16d8
View commit details
Copy full SHA for 6fc16d8
View code at this point
Browse repository at this point
#15114: the strict mode and argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception have been removed.
ezio-melotti
committed
73a4359
View commit details
Copy full SHA for 73a4359
View code at this point
Browse repository at this point
Commits on Feb 1, 2014
#20288: merge with 3.3.
ezio-melotti
committed
153d97b
View commit details
Copy full SHA for 153d97b
View code at this point
Browse repository at this point
#20288: fix handling of invalid numeric charrefs in HTMLParser.
ezio-melotti
committed
f27b9a7
View commit details
Copy full SHA for f27b9a7
View code at this point
Browse repository at this point
Commits on Nov 23, 2013
#13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, automatically converts all character references.
ezio-melotti
committed
95401c5
View commit details
Copy full SHA for 95401c5
View code at this point
Browse repository at this point
Commits on Nov 22, 2013
#19688: add back and deprecate the internal HTMLParser.unescape() method.
ezio-melotti
committed
f6de9eb
View commit details
Copy full SHA for f6de9eb
View code at this point
Browse repository at this point
Commits on Nov 19, 2013
#2927: Added the unescape() function to the html module.
ezio-melotti
committed
4a9ee26
View commit details
Copy full SHA for 4a9ee26
View code at this point
Browse repository at this point
Commits on Nov 7, 2013
#19480: merge with 3.3.
ezio-melotti
committed
b703881
View commit details
Copy full SHA for b703881
View code at this point
Browse repository at this point
#19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard.
ezio-melotti
committed
7165d8b
View commit details
Copy full SHA for 7165d8b
View code at this point
Browse repository at this point
Commits on Nov 2, 2013
#15114: The html.parser module now raises a DeprecationWarning when the strict argument of HTMLParser or the HTMLParser.error method are used.
ezio-melotti
committed
88ebfb1
View commit details
Copy full SHA for 88ebfb1
View code at this point
Browse repository at this point
Commits on May 1, 2013
#17802: merge with 3.3.
ezio-melotti
committed
f6ca26f
View commit details
Copy full SHA for f6ca26f
View code at this point
Browse repository at this point
#17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow.
ezio-melotti
committed
8e596a7
View commit details
Copy full SHA for 8e596a7
View code at this point
Browse repository at this point
#14679: add an __all__ (that contains only HTMLParser) to html.parser.
ezio-melotti
committed
1698bab
View commit details
Copy full SHA for 1698bab
View code at this point
Browse repository at this point
Commits on Jun 24, 2012
#15156: HTMLParser now uses the new "html.entities.html5" dictionary.
ezio-melotti
committed
4649518
View commit details
Copy full SHA for 4649518
View code at this point
Browse repository at this point
Commits on Jun 23, 2012
#15114: the strict mode of HTMLParser and the HTMLParseError exception are deprecated now that the parser is able to parse invalid markup.
ezio-melotti
committed
3861d8b
View commit details
Copy full SHA for 3861d8b
View code at this point
Browse repository at this point
Commits on Apr 19, 2012
#14538: HTMLParser can now parse correctly start tags that contain a bare /.
ezio-melotti
committed
0780b6b
View commit details
Copy full SHA for 0780b6b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.