diff --git a/stdlib/@tests/stubtest_allowlists/darwin-py310.txt b/stdlib/@tests/stubtest_allowlists/darwin-py310.txt index df6bf0af1b91..e2a10b3ed34f 100644 --- a/stdlib/@tests/stubtest_allowlists/darwin-py310.txt +++ b/stdlib/@tests/stubtest_allowlists/darwin-py310.txt @@ -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 @@ -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 @@ -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 diff --git a/stdlib/@tests/stubtest_allowlists/darwin-py311.txt b/stdlib/@tests/stubtest_allowlists/darwin-py311.txt index b389202caf35..6cbfa8b22c53 100644 --- a/stdlib/@tests/stubtest_allowlists/darwin-py311.txt +++ b/stdlib/@tests/stubtest_allowlists/darwin-py311.txt @@ -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 # ============ @@ -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 # ============================================================= diff --git a/stdlib/@tests/stubtest_allowlists/darwin-py312.txt b/stdlib/@tests/stubtest_allowlists/darwin-py312.txt index 77684961b29b..28e7411ab886 100644 --- a/stdlib/@tests/stubtest_allowlists/darwin-py312.txt +++ b/stdlib/@tests/stubtest_allowlists/darwin-py312.txt @@ -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 # ============ @@ -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 # ============================================================= diff --git a/stdlib/@tests/stubtest_allowlists/darwin-py39.txt b/stdlib/@tests/stubtest_allowlists/darwin-py39.txt index 6c94d5c2030a..0e55e7f25a3f 100644 --- a/stdlib/@tests/stubtest_allowlists/darwin-py39.txt +++ b/stdlib/@tests/stubtest_allowlists/darwin-py39.txt @@ -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 @@ -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 diff --git a/stdlib/@tests/stubtest_allowlists/linux-py310.txt b/stdlib/@tests/stubtest_allowlists/linux-py310.txt index 7673e9c65d23..fd8e9b71c7c2 100644 --- a/stdlib/@tests/stubtest_allowlists/linux-py310.txt +++ b/stdlib/@tests/stubtest_allowlists/linux-py310.txt @@ -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 # ============================================================= diff --git a/stdlib/@tests/stubtest_allowlists/linux-py311.txt b/stdlib/@tests/stubtest_allowlists/linux-py311.txt index 671201251e99..cff95b93c0fb 100644 --- a/stdlib/@tests/stubtest_allowlists/linux-py311.txt +++ b/stdlib/@tests/stubtest_allowlists/linux-py311.txt @@ -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 # ============================================================= diff --git a/stdlib/@tests/stubtest_allowlists/linux-py312.txt b/stdlib/@tests/stubtest_allowlists/linux-py312.txt index 9ce8bbf9e13b..9d9984713dcb 100644 --- a/stdlib/@tests/stubtest_allowlists/linux-py312.txt +++ b/stdlib/@tests/stubtest_allowlists/linux-py312.txt @@ -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 # ============================================================= diff --git a/stdlib/@tests/stubtest_allowlists/py310.txt b/stdlib/@tests/stubtest_allowlists/py310.txt index 37eb5d038cad..b11ea3c6c7db 100644 --- a/stdlib/@tests/stubtest_allowlists/py310.txt +++ b/stdlib/@tests/stubtest_allowlists/py310.txt @@ -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 # ========================= @@ -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 @@ -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)? diff --git a/stdlib/@tests/stubtest_allowlists/py311.txt b/stdlib/@tests/stubtest_allowlists/py311.txt index 1f36410deb4e..e7ef0c7af054 100644 --- a/stdlib/@tests/stubtest_allowlists/py311.txt +++ b/stdlib/@tests/stubtest_allowlists/py311.txt @@ -1,15 +1,3 @@ -# ========= -# 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 # ========================= @@ -244,11 +232,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.11.12 -# (Remove once 3.11.12 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 @@ -300,19 +283,3 @@ _pickle.Pickler.persistent_id _pickle.Unpickler.persistent_load pickle.Pickler.persistent_id pickle.Unpickler.persistent_load - -# Incompatible changes introduced in Python 3.11.13 -# (Remove once 3.11.13 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)? diff --git a/stdlib/@tests/stubtest_allowlists/py312.txt b/stdlib/@tests/stubtest_allowlists/py312.txt index d21fdfff468d..24e1b1f80d37 100644 --- a/stdlib/@tests/stubtest_allowlists/py312.txt +++ b/stdlib/@tests/stubtest_allowlists/py312.txt @@ -1,14 +1,3 @@ -# ========= -# 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 # ========================= @@ -276,19 +265,3 @@ _pickle.Pickler.persistent_id _pickle.Unpickler.persistent_load pickle.Pickler.persistent_id pickle.Unpickler.persistent_load - -# Incompatible changes introduced in Python 3.12.11 -# (Remove once 3.12.11 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)? diff --git a/stdlib/@tests/stubtest_allowlists/py39.txt b/stdlib/@tests/stubtest_allowlists/py39.txt index fb530e297148..76ee91c4cb1b 100644 --- a/stdlib/@tests/stubtest_allowlists/py39.txt +++ b/stdlib/@tests/stubtest_allowlists/py39.txt @@ -204,14 +204,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.9.22 -# (Remove once 3.9.22 becomes available for all platforms) -(email._header_value_parser.get_encoded_word)? - -# Incompatible changes introduced in Python 3.9.23 -# (Remove once 3.9.23 becomes available for all platforms) -(email._header_value_parser.make_quoted_pairs)? - # ============================================================= # Allowlist entries that cannot or should not be fixed; <= 3.12 @@ -263,19 +255,3 @@ _pickle.Pickler.persistent_id _pickle.Unpickler.persistent_load pickle.Pickler.persistent_id pickle.Unpickler.persistent_load - -# Incompatible changes introduced in Python 3.9.23 -# (Remove once 3.9.23 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)? diff --git a/stdlib/@tests/stubtest_allowlists/win32-py310.txt b/stdlib/@tests/stubtest_allowlists/win32-py310.txt index 1c26b320d918..f067989f1418 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py310.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py310.txt @@ -2,30 +2,6 @@ # 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 - - -# ======= -# <= 3.11 -# ======= - -# Incompatible changes introduced in Python 3.10.15 -# (Remove once 3.10.15 becomes available for Windows) -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 @@ -42,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 @@ -55,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 @@ -65,7 +80,3 @@ crypt nis ossaudiodev spwd - -# Incompatible changes introduced in Python 3.10.18 -# (Remove once 3.10.18 becomes available for Windows) -(ntpath.realpath)? diff --git a/stdlib/@tests/stubtest_allowlists/win32-py311.txt b/stdlib/@tests/stubtest_allowlists/win32-py311.txt index bcc6d7c17ad4..902e308f05c7 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py311.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py311.txt @@ -2,25 +2,45 @@ # 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 - - -# ======= -# <= 3.11 -# ======= - # Incompatible changes introduced in Python 3.11.10 -# (Remove once 3.11.10 becomes available for Windows) +# (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 + # ============================================================= # Allowlist entries that cannot or should not be fixed; <= 3.12 @@ -31,7 +51,3 @@ crypt nis ossaudiodev spwd - -# Incompatible changes introduced in Python 3.11.13 -# (Remove once 3.11.18 becomes available for Windows) -(ntpath.realpath)? diff --git a/stdlib/@tests/stubtest_allowlists/win32-py312.txt b/stdlib/@tests/stubtest_allowlists/win32-py312.txt index c977d31f24eb..f0e828de25f6 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py312.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py312.txt @@ -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 # ======= @@ -24,14 +47,6 @@ _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 # ============================================================= @@ -41,7 +56,3 @@ crypt nis ossaudiodev spwd - -# Incompatible changes introduced in Python 3.12.11 -# (Remove once 3.12.11 becomes available for Windows) -(ntpath.realpath)? diff --git a/stdlib/@tests/stubtest_allowlists/win32-py39.txt b/stdlib/@tests/stubtest_allowlists/win32-py39.txt index 26af9746ff27..41a273d99b64 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py39.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py39.txt @@ -2,39 +2,11 @@ # 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 - - -# ======= -# <= 3.11 -# ======= - -# Incompatible changes introduced in Python 3.9.20 -# (Remove once 3.9.20 becomes available for Windows) -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 @@ -64,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 @@ -74,7 +81,3 @@ crypt nis ossaudiodev spwd - -# Incompatible changes introduced in Python 3.9.23 -# (Remove once 3.9.23 becomes available for Windows) -(ntpath.realpath)?