<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/html, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/html?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/html?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2026-08-10T19:53:50Z</updated>
<entry>
<title>[3.10] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031) (#153043)</title>
<updated>2026-08-10T19:53:50Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2026-08-10T19:53:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e7956f1a722df9aabc509c30f8fbdc3a2b4fdc7'/>
<id>urn:sha1:1e7956f1a722df9aabc509c30f8fbdc3a2b4fdc7</id>
<content type='text'>
gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031)

When an unterminated construct (e.g. a tag or comment) spanned many
feed() calls, rescanning the growing buffer and concatenating new data
onto it were both quadratic.  New data is now accumulated in a list and
only joined and parsed once enough has piled up.


(cherry picked from commit bcf98ddbc40ec9b3ee87da0124a5660b19b7e606)

Co-authored-by: Claude Opus 4.8 &lt;noreply@anthropic.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140842) (GH-140853)</title>
<updated>2025-10-31T16:55:58Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2025-10-31T16:55:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3a623c6c55200e131302e961b535ecf91e89db91'/>
<id>urn:sha1:3a623c6c55200e131302e961b535ecf91e89db91</id>
<content type='text'>
(cherry picked from commit a17c57eee5b5cc81390750d07e4800b19c0c3084)
(cherry picked from commit 0329bd11c7e98484727bbb9062d53a8fa53ac7fd)
</content>
</entry>
<entry>
<title>[3.10] gh-135661: Fix CDATA section parsing in HTMLParser (GH-135665) (GH-137774) (GH-139660)</title>
<updated>2025-10-07T12:12:23Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2025-10-07T12:12:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7317e0bbb733e0ec91e6e8ef6065855a99cc8aad'/>
<id>urn:sha1:7317e0bbb733e0ec91e6e8ef6065855a99cc8aad</id>
<content type='text'>
"] ]&gt;" and "]] &gt;" no longer end the CDATA section.

Make CDATA section parsing  context depending.
Add private method HTMLParser._set_support_cdata() to change the context.
If called with True, "&lt;[CDATA[" starts a CDATA section which ends with "]]&gt;".
If called with False, "&lt;[CDATA[" starts a bogus comments which ends with "&gt;".
(cherry picked from commit 0cbbfc462119b9107b373c24d2bda5a1271bed36)
(cherry picked from commit dcf24768c918c41821cda6fe6a1aa20ce26545dd)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-118350: Fix support of elements "textarea" and "title" in HTMLParser (GH-135310) (GH-137783)</title>
<updated>2025-09-13T20:36:51Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2025-09-13T20:36:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9b51801581e1e38b9cf9bfeb6c12a739fd5e6309'/>
<id>urn:sha1:9b51801581e1e38b9cf9bfeb6c12a739fd5e6309</id>
<content type='text'>
(cherry picked from commit 4d02f31cdd45d81b95540d9076222b709d4f2335)

Co-authored-by: Timon Viola &lt;44016238+timonviola@users.noreply.github.com&gt;
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</content>
</entry>
<entry>
<title>[3.10] gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908) (GH-136921)</title>
<updated>2025-07-22T09:57:56Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2025-07-22T09:57:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1df5d0014578be7fe7ae25e2cc60c50c8b5cc0f7'/>
<id>urn:sha1:1df5d0014578be7fe7ae25e2cc60c50c8b5cc0f7</id>
<content type='text'>
This fixes a regression introduced in GH-135930.
(cherry picked from commit dee650189497735edbc08a54edabb5b06ef1bd09)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5 standard (GH-135930) (GH-136268) (#136292)</title>
<updated>2025-07-12T12:26:58Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2025-07-12T12:26:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=151e0f00f74df26f0b40fb0ef9a53f353c1d1ab2'/>
<id>urn:sha1:151e0f00f74df26f0b40fb0ef9a53f353c1d1ab2</id>
<content type='text'>
* Whitespaces no longer accepted between `&lt;/` and the tag name.
  E.g. `&lt;/ script&gt;` does not end the script section.

* Vertical tabulation (`\v`) and non-ASCII whitespaces no longer recognized
  as whitespaces. The only whitespaces are `\t\n\r\f `.

* Null character (U+0000) no longer ends the tag name.

* Attributes and slashes after the tag name in end tags are now ignored,
  instead of terminating after the first `&gt;` in quoted attribute value.
  E.g. `&lt;/script/foo="&gt;"/&gt;`.

* Multiple slashes and whitespaces between the last attribute and closing `&gt;`
  are now ignored in both start and end tags. E.g. `&lt;a foo=bar/ //&gt;`.

* Multiple `=` between attribute name and value are no longer collapsed.
  E.g. `&lt;a foo==bar&gt;` produces attribute "foo" with value "=bar".

* Whitespaces between the `=` separator and attribute name or value are no
  longer ignored. E.g. `&lt;a foo =bar&gt;` produces two attributes "foo" and
  "=bar", both with value None; `&lt;a foo= bar&gt;` produces two attributes:
  "foo" with value "" and "bar" with value None.

* Fix data loss after unclosed script or style tag (gh-86155).

Also backport test.support.subTests() (gh-135120).

---------
(cherry picked from commit 0243f97cbadec8d985e63b1daec5d1cbc850cae3)
(cherry picked from commit c555f889c3558a0a8cd8d8ecc2b493014b88a700)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
Co-authored-by: Ezio Melotti &lt;ezio.melotti@gmail.com&gt;
Co-authored-by: Waylan Limberg &lt;waylan.limberg@icloud.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664) (GH-136275)</title>
<updated>2025-07-12T12:24:27Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2025-07-12T12:24:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=85766db07e8eef7eeb9cc42947d3fb2bc52c2403'/>
<id>urn:sha1:85766db07e8eef7eeb9cc42947d3fb2bc52c2403</id>
<content type='text'>
* "--!&gt;" now ends the comment.
* "-- &gt;" no longer ends the comment.
* Support abnormally ended empty comments "&lt;--&gt;" and "&lt;---&gt;".

---------
(cherry picked from commit 8ac7613dc8b8f82253d7c0e2b6ef6ed703a0a1ee)


Co-author: Kerim Kabirov &lt;the.privat33r+gh@pm.me&gt;

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
Co-authored-by: Ezio Melotti &lt;ezio.melotti@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464) (GH-135485)</title>
<updated>2025-07-03T21:05:53Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2025-07-03T21:05:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fdc9d214c01cb4588f540cfa03726bbf2a33fc15'/>
<id>urn:sha1:fdc9d214c01cb4588f540cfa03726bbf2a33fc15</id>
<content type='text'>
End-of-file errors are now handled according to the HTML5 specs --
comments and declarations are automatically closed, tags are ignored.
(cherry picked from commit 6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41)</content>
</entry>
<entry>
<title>gh-100210: Correct the comment link for unescaping HTML (GH-100212)</title>
<updated>2023-02-19T10:41:53Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-02-19T10:41:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8520e6cbb28146f9091c7af18558911f6ce74ae9'/>
<id>urn:sha1:8520e6cbb28146f9091c7af18558911f6ce74ae9</id>
<content type='text'>
(cherry picked from commit 9a07eff628c1cd88b7cdda88a8fd0db3fe7ea552)

Co-authored-by: Jean-Christophe Amiel &lt;jeanchristophe.amiel@gmail.com&gt;
gh-100210: correct the comment link for unescaping HTML</content>
</entry>
<entry>
<title>Add source for character mappings (GH-92014) (#92389)</title>
<updated>2022-05-06T10:58:16Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-06T10:58:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b5f5993dfe1c9e5dc48e3e514f282464da9fb4a3'/>
<id>urn:sha1:b5f5993dfe1c9e5dc48e3e514f282464da9fb4a3</id>
<content type='text'>
(cherry picked from commit d707d073be5ecacb7ad341a1c1716f4998907d6b)

Co-authored-by: slateny &lt;46876382+slateny@users.noreply.github.com&gt;

Co-authored-by: slateny &lt;46876382+slateny@users.noreply.github.com&gt;</content>
</entry>
</feed>
