Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions stdlib/@tests/stubtest_allowlists/darwin-py310.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ 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`
email._header_value_parser.make_parenthesis_pairs
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
Comment thread
donbarbos marked this conversation as resolved.
Outdated
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
Expand Down
1 change: 1 addition & 0 deletions stdlib/@tests/stubtest_allowlists/darwin-py311.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ 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`
email._header_value_parser.make_parenthesis_pairs
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
Expand Down
1 change: 1 addition & 0 deletions stdlib/@tests/stubtest_allowlists/darwin-py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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`
email._header_value_parser.make_parenthesis_pairs
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
Expand Down
13 changes: 0 additions & 13 deletions stdlib/@tests/stubtest_allowlists/linux-py310.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# =========
# Temporary
# =========

# 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
13 changes: 0 additions & 13 deletions stdlib/@tests/stubtest_allowlists/linux-py311.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# =========
# Temporary
# =========

# 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
# =============================================================
Expand Down
13 changes: 0 additions & 13 deletions stdlib/@tests/stubtest_allowlists/linux-py312.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# =========
# Temporary
# =========

# 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


# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
# =============================================================
Expand Down
1 change: 1 addition & 0 deletions stdlib/@tests/stubtest_allowlists/win32-py310.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ 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`
email._header_value_parser.make_parenthesis_pairs
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
Expand Down
1 change: 1 addition & 0 deletions stdlib/@tests/stubtest_allowlists/win32-py311.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ 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`
email._header_value_parser.make_parenthesis_pairs
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
Expand Down
1 change: 1 addition & 0 deletions stdlib/@tests/stubtest_allowlists/win32-py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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`
email._header_value_parser.make_parenthesis_pairs
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
Expand Down
4 changes: 2 additions & 2 deletions stdlib/email/_header_value_parser.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ SPECIALSNL: Final[set[str]]
def make_quoted_pairs(value: Any) -> str: ...
def quote_string(value: Any) -> str: ...

if sys.version_info >= (3, 13):
# Added in Python 3.13.12, 3.14.3
if sys.version_info >= (3, 10):
# Added in Python 3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
def make_parenthesis_pairs(value: Any) -> str: ...

rfc2047_matcher: Final[Pattern[str]]
Expand Down