Updates for Python 3.13.10 and 3.14.1 (#15105)

Closes #15104
This commit is contained in:
Sebastian Rittau
2025-12-04 20:19:06 +01:00
committed by GitHub
parent 5e3a96dcaa
commit e56ae65a49
27 changed files with 170 additions and 75 deletions
@@ -1,3 +1,11 @@
# =========
# Temporary
# =========
# Added in Python 3.10.20 (parameter `scripting`)
html.parser.HTMLParser.__init__
# =======
# <= 3.12
# =======
@@ -1,3 +1,11 @@
# =========
# Temporary
# =========
# Added in Python 3.11.15 (parameter `scripting`)
html.parser.HTMLParser.__init__
# ============
# 3.11 to 3.12
# ============
@@ -1,3 +1,11 @@
# =========
# Temporary
# =========
# Added in Python 3.12.13 (parameter `scripting`)
html.parser.HTMLParser.__init__
# ============
# 3.11 to 3.12
# ============
@@ -3,10 +3,3 @@
# =======
(mmap.MAP_32BIT)? # Exists locally on MacOS but not on GitHub
# ================
# Unclear problems
# ================
# Added in 3.11.1, flagged by stubtest on Python < 3.14 for unknown reasons
errno.ENOTCAPABLE
@@ -1,3 +1,11 @@
# =========
# 3.14 only
# =========
# Starting with Python 3.14.1, these methods accept None for some of their
# parameters, but would raise a TypeError with Python 3.14.0.
mmap.mmap.madvise
# =======
# >= 3.13
# =======
@@ -1,3 +1,11 @@
# =========
# Temporary
# =========
# Added in Python 3.9.25 (parameter `scripting`)
html.parser.HTMLParser.__init__
# =======
# <= 3.12
# =======
@@ -10,14 +10,6 @@
(fcntl.F_SETLEASE)? # GNU extension
# =======
# <= 3.14
# =======
# Added in Python 3.9.25, 3.10.20, 3.11.15, 3.12.13, 3.13.10, 3.14.1 (parameter `scripting`)
html.parser.HTMLParser.__init__
# ==========================================
# Modules that do not exist on MacOS systems
# ==========================================
@@ -1,6 +1,6 @@
# =======
# <= 3.14
# =======
# =========
# Temporary
# =========
# Added in Python 3.10.20 (parameter `scripting`)
html.parser.HTMLParser.__init__
@@ -1,6 +1,6 @@
# =======
# <= 3.14
# =======
# =========
# Temporary
# =========
# Added in Python 3.11.15 (parameter `scripting`)
html.parser.HTMLParser.__init__
@@ -1,6 +1,6 @@
# =======
# <= 3.14
# =======
# =========
# Temporary
# =========
# Added in Python 3.12.13 (parameter `scripting`)
html.parser.HTMLParser.__init__
@@ -1,6 +0,0 @@
# =======
# <= 3.14
# =======
# Added in Python 3.13.10 (parameter `scripting`)
html.parser.HTMLParser.__init__
@@ -1,6 +1,7 @@
# =======
# <= 3.14
# =======
# =========
# 3.14 only
# =========
# Added in Python 3.14.1 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Starting with Python 3.14.1, these methods accept None for some of their
# parameters, but would raise a TypeError with Python 3.14.0.
mmap.mmap.madvise
@@ -1,3 +1,15 @@
# =========
# Temporary
# =========
# Will be added in 3.10.20
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
# =========================
# New errors in Python 3.10
# =========================
@@ -1,3 +1,15 @@
# =========
# Temporary
# =========
# Will be added in 3.11.15
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
# =========================
# New errors in Python 3.11
# =========================
@@ -1,3 +1,14 @@
# =========
# Temporary
# =========
# Will be added in 3.12.13
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
# =========================
# New errors in Python 3.12
# =========================
@@ -43,6 +43,13 @@ importlib.util.Loader.exec_module # See Lib/importlib/_abc.py. Might be defined
threading.Condition.locked
multiprocessing.dummy.Condition.locked
# Starting with Python 3.14.1, these methods accept None for some of their
# parameters, but would raise a TypeError with Python 3.14.0.
mmap.mmap.find
mmap.mmap.flush
mmap.mmap.rfind
multiprocessing.process.BaseProcess.__init__
# ====================================
# Pre-existing errors from Python 3.13
# ====================================
@@ -1,6 +1,9 @@
# =======
# <= 3.12
# =======
# =========
# Temporary
# =========
# Added in Python 3.10.20 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Added in Python 3.10.18 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
@@ -1,6 +1,9 @@
# =======
# <= 3.12
# =======
# =========
# Temporary
# =========
# Added in Python 3.11.15 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Added in Python 3.11.13 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
@@ -1,3 +1,11 @@
# =========
# Temporary
# =========
# Added in Python 3.12.13 (parameter `scripting`)
html.parser.HTMLParser.__init__
# =======
# >= 3.12
# =======
@@ -1,6 +1,9 @@
# =======
# <= 3.12
# =======
# =========
# Temporary
# =========
# Added in Python 3.9.25 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Added in Python 3.9.23 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode
@@ -9,14 +9,6 @@ _winapi.OpenFileMapping
_winapi.VirtualQuerySize
# =======
# <= 3.14
# =======
# Added in Python 3.9.25, 3.10.20, 3.11.15, 3.12.13, 3.13.10, 3.14.1 (parameter `scripting`)
html.parser.HTMLParser.__init__
# ============================================
# Modules that do not exist on Windows systems
# ============================================