[html.parser] Fix stubtest for later patch releases (#14861)

This commit is contained in:
Semyon Moroz
2025-10-10 20:23:39 +04:00
committed by GitHub
parent 33414287a7
commit 560f6ddd32
9 changed files with 68 additions and 9 deletions
@@ -1,3 +1,11 @@
# =======
# <= 3.12
# =======
# Added in Python 3.10.18 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
# =======
# <= 3.11
# =======
@@ -8,6 +8,14 @@ fcntl.F_OFD_SETLK
fcntl.F_OFD_SETLKW
# =======
# <= 3.12
# =======
# Added in Python 3.11.13 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
# =======
# <= 3.11
# =======
@@ -8,6 +8,14 @@ fcntl.F_OFD_SETLK
fcntl.F_OFD_SETLKW
# =======
# <= 3.12
# =======
# Added in Python 3.12.11 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
# =============================================================
@@ -1,3 +1,11 @@
# =======
# <= 3.12
# =======
# Added in Python 3.9.23 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
# =======
# <= 3.11
# =======
@@ -1,3 +1,11 @@
# =======
# <= 3.12
# =======
# Added in Python 3.10.18 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
# =======
# <= 3.11
# =======
@@ -1,3 +1,11 @@
# =======
# <= 3.12
# =======
# Added in Python 3.11.13 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
# =======
# <= 3.11
# =======
@@ -16,6 +16,14 @@ _winapi.GetLongPathName
_winapi.GetShortPathName
# =======
# <= 3.12
# =======
# Added in Python 3.12.11 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
# =============================================================
@@ -1,3 +1,11 @@
# =======
# <= 3.12
# =======
# Added in Python 3.9.23 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
# =======
# <= 3.11
# =======