Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 41 additions & 30 deletions stdlib/@tests/stubtest_allowlists/darwin-py310.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,6 @@
# Temporary
# =========

# Added in Python 3.10.20 (parameter `scripting`)
html.parser.HTMLParser.__init__


# =======
# <= 3.12
# =======

# Added in Python 3.10.18 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode


# =======
# <= 3.11
# =======

# Added in Python 3.10.15
email._header_value_parser.NLSET
email._header_value_parser.SPECIALSNL
email.errors.HeaderWriteError
email.utils.getaddresses
email.utils.parseaddr


# =======
# <= 3.10
# =======

# Incompatible changes introduced in Python 3.10.12
# (Remove once 3.10.12 becomes available for GitHub Actions)
shutil.unpack_archive
Expand All @@ -46,8 +18,8 @@ tarfile.data_filter
tarfile.fully_trusted_filter
tarfile.tar_filter

# Incompatible changes introduced in Python 3.9.14
# (Remove once 3.9.14 becomes available for GitHub Actions)
# Incompatible changes introduced in Python 3.10.14
# (Remove once 3.10.14 becomes available for GitHub Actions)
pyexpat.XMLParserType.GetReparseDeferralEnabled
pyexpat.XMLParserType.SetReparseDeferralEnabled
xml.etree.ElementTree.XMLParser.flush
Expand All @@ -59,6 +31,45 @@ xml.parsers.expat.XMLParserType.SetReparseDeferralEnabled
xml.sax.expatreader.ExpatParser.flush
zipfile.ZipInfo.__slots__

# Incompatible changes introduced in Python 3.10.15
# (Remove once 3.10.15 becomes available for GitHub Actions)
email._header_value_parser.NLSET
email._header_value_parser.SPECIALSNL
email.errors.HeaderWriteError
email.utils.getaddresses
email.utils.parseaddr

# Incompatible changes introduced in Python 3.10.17
# (Remove once 3.10.17 becomes available for GitHub Actions)
email._header_value_parser.get_encoded_word
email._header_value_parser.make_quoted_pairs

# Incompatible changes introduced in Python 3.10.18
# (Remove once 3.10.18 becomes available for GitHub Actions)
html.parser.HTMLParser.set_cdata_mode # parameter `escapable`
genericpath.__all__
genericpath.ALLOW_MISSING
(ntpath.__all__)?
(ntpath.ALLOW_MISSING)?
(ntpath.realpath)?
(os.path.__all__)?
(os.path.ALLOW_MISSING)?
(os.path.realpath)?
(posixpath.__all__)?
(posixpath.ALLOW_MISSING)?
(posixpath.realpath)?
tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.10.20
# (Remove once 3.10.20 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification


# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
Expand Down
60 changes: 38 additions & 22 deletions stdlib/@tests/stubtest_allowlists/darwin-py311.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,44 @@
# Temporary
# =========

# Added in Python 3.11.15 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Incompatible changes introduced in Python 3.11.10
# (Remove once 3.11.10 becomes available for GitHub Actions)
email._header_value_parser.NLSET
email._header_value_parser.SPECIALSNL
email.errors.HeaderWriteError
email.utils.getaddresses
email.utils.parseaddr

# Incompatible changes introduced in Python 3.11.12
# (Remove once 3.11.12 becomes available for GitHub Actions)
email._header_value_parser.get_encoded_word
email._header_value_parser.make_quoted_pairs

# Incompatible changes introduced in Python 3.11.13
# (Remove once 3.11.13 becomes available for GitHub Actions)
html.parser.HTMLParser.set_cdata_mode # parameter `escapable`
genericpath.__all__
genericpath.ALLOW_MISSING
(ntpath.__all__)?
(ntpath.ALLOW_MISSING)?
(ntpath.realpath)?
(os.path.__all__)?
(os.path.ALLOW_MISSING)?
(os.path.realpath)?
(posixpath.__all__)?
(posixpath.ALLOW_MISSING)?
(posixpath.realpath)?
tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.11.15
# (Remove once 3.11.15 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification


# ============
Expand All @@ -16,26 +52,6 @@ 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
# =======

# Added in Python 3.11.10
email._header_value_parser.NLSET
email._header_value_parser.SPECIALSNL
email.errors.HeaderWriteError
email.utils.getaddresses
email.utils.parseaddr


# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
# =============================================================
Expand Down
35 changes: 25 additions & 10 deletions stdlib/@tests/stubtest_allowlists/darwin-py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,31 @@
# Temporary
# =========

# Added in Python 3.12.13 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Incompatible changes introduced in Python 3.12.11
# (Remove once 3.12.11 becomes available for GitHub Actions)
html.parser.HTMLParser.set_cdata_mode # parameter `escapable`
genericpath.__all__
genericpath.ALLOW_MISSING
(ntpath.__all__)?
(ntpath.ALLOW_MISSING)?
(ntpath.realpath)?
(os.path.__all__)?
(os.path.ALLOW_MISSING)?
(os.path.realpath)?
(posixpath.__all__)?
(posixpath.ALLOW_MISSING)?
(posixpath.realpath)?
tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.12.13
# (Remove once 3.12.13 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification


# ============
Expand All @@ -16,14 +39,6 @@ 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
# =============================================================
Expand Down
69 changes: 36 additions & 33 deletions stdlib/@tests/stubtest_allowlists/darwin-py39.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,11 @@
# Temporary
# =========

# Added in Python 3.9.25 (parameter `scripting`)
html.parser.HTMLParser.__init__


# =======
# <= 3.12
# =======

# Added in Python 3.9.23 (parameter `escapable`)
html.parser.HTMLParser.set_cdata_mode


# =======
# <= 3.11
# =======

# Added in Python 3.9.20
email._header_value_parser.NLSET
email._header_value_parser.SPECIALSNL
email.errors.HeaderWriteError
email.utils.getaddresses
email.utils.parseaddr


# ========
# 3.9 only
# ========

# Added in Python 3.9.14
# (Remove once 3.9.14 becomes available for GitHub Actions)
sys.set_int_max_str_digits
sys.get_int_max_str_digits


# =======
# <= 3.10
# =======

# Incompatible changes introduced in Python 3.9.17
# (Remove once 3.9.17 becomes available for GitHub Actions)
shutil.unpack_archive
Expand Down Expand Up @@ -68,6 +36,41 @@ xml.parsers.expat.XMLParserType.SetReparseDeferralEnabled
xml.sax.expatreader.ExpatParser.flush
zipfile.ZipInfo.__slots__

# Incompatible changes introduced in Python 3.9.20
# (Remove once 3.9.20 becomes available for GitHub Actions)
email._header_value_parser.NLSET
email._header_value_parser.SPECIALSNL
email.errors.HeaderWriteError
email.utils.getaddresses
email.utils.parseaddr

# Incompatible changes introduced in Python 3.9.22
# (Remove once 3.9.22 becomes available for GitHub Actions)
email._header_value_parser.get_encoded_word

# Incompatible changes introduced in Python 3.9.23
# (Remove once 3.9.23 becomes available for GitHub Actions)
genericpath.__all__
genericpath.ALLOW_MISSING
(ntpath.__all__)?
(ntpath.ALLOW_MISSING)?
(ntpath.realpath)?
(os.path.__all__)?
(os.path.ALLOW_MISSING)?
(os.path.realpath)?
(posixpath.__all__)?
(posixpath.ALLOW_MISSING)?
(posixpath.realpath)?
tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter
html.parser.HTMLParser.set_cdata_mode # parameter `escapable`
email._header_value_parser.make_quoted_pairs

# Parameter `scripting` added in Python 3.9.25
# (Remove once 3.9.25 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__


# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
Expand Down
9 changes: 7 additions & 2 deletions stdlib/@tests/stubtest_allowlists/linux-py310.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# Temporary
# =========

# Added in Python 3.10.20 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Incompatible changes introduced in Python 3.10.20
# (Remove once 3.10.20 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification


# =============================================================
Expand Down
9 changes: 7 additions & 2 deletions stdlib/@tests/stubtest_allowlists/linux-py311.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# Temporary
# =========

# Added in Python 3.11.15 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Incompatible changes introduced in Python 3.11.15
# (Remove once 3.11.15 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification


# =============================================================
Expand Down
9 changes: 7 additions & 2 deletions stdlib/@tests/stubtest_allowlists/linux-py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
# Temporary
# =========

# Added in Python 3.12.13 (parameter `scripting`)
html.parser.HTMLParser.__init__
# Incompatible changes introduced in Python 3.12.13
# (Remove once 3.12.13 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification


# =============================================================
Expand Down
33 changes: 0 additions & 33 deletions stdlib/@tests/stubtest_allowlists/py310.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# =========
# 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
# =========================
Expand Down Expand Up @@ -268,11 +256,6 @@ typing_extensions\.TypeAliasType\.__(parameters|type_params|name|module|value)__
unittest.test # Modules that exist at runtime, but shouldn't be added to typeshed
unittest\.test\..+ # Modules that exist at runtime, but shouldn't be added to typeshed

# Incompatible changes introduced in Python 3.10.17
# (Remove once 3.10.17 becomes available for all platforms)
(email._header_value_parser.get_encoded_word)?
(email._header_value_parser.make_quoted_pairs)?


# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
Expand Down Expand Up @@ -324,19 +307,3 @@ _pickle.Pickler.persistent_id
_pickle.Unpickler.persistent_load
pickle.Pickler.persistent_id
pickle.Unpickler.persistent_load

# Incompatible changes introduced in Python 3.10.18
# (Remove once 3.10.18 becomes available for all platforms)
(genericpath.__all__)?
(genericpath.ALLOW_MISSING)?
(ntpath.__all__)?
(ntpath.ALLOW_MISSING)?
(os.path.__all__)?
(os.path.ALLOW_MISSING)?
(os.path.realpath)?
(posixpath.__all__)?
(posixpath.ALLOW_MISSING)?
(posixpath.realpath)?
(tarfile.LinkFallbackError)?
(tarfile.TarFile._extract_member)?
(tarfile.TarFile.makelink_with_filter)?
Loading