Skip to content
Merged
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
5 changes: 5 additions & 0 deletions stdlib/@tests/stubtest_allowlists/darwin-py310.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.10.19
# (Remove once 3.10.19 becomes available for GitHub Actions)
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionActivationThreshold
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionMaximumAmplification

# Incompatible changes introduced in Python 3.10.20
# (Remove once 3.10.20 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
Expand Down
5 changes: 5 additions & 0 deletions stdlib/@tests/stubtest_allowlists/darwin-py311.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.11.14
# (Remove once 3.11.14 becomes available for GitHub Actions)
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionActivationThreshold
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionMaximumAmplification

# Incompatible changes introduced in Python 3.11.15
# (Remove once 3.11.15 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
Expand Down
5 changes: 5 additions & 0 deletions stdlib/@tests/stubtest_allowlists/darwin-py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.12.12
# (Remove once 3.12.12 becomes available for GitHub Actions)
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionActivationThreshold
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionMaximumAmplification

# Incompatible changes introduced in Python 3.12.13
# (Remove once 3.12.13 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
Expand Down
5 changes: 5 additions & 0 deletions stdlib/@tests/stubtest_allowlists/win32-py310.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.10.19
# (Remove once 3.10.19 becomes available for GitHub Actions)
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionActivationThreshold
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionMaximumAmplification

# Incompatible changes introduced in Python 3.10.20
# (Remove once 3.10.20 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
Expand Down
5 changes: 5 additions & 0 deletions stdlib/@tests/stubtest_allowlists/win32-py311.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.11.14
# (Remove once 3.11.14 becomes available for GitHub Actions)
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionActivationThreshold
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionMaximumAmplification

# Incompatible changes introduced in Python 3.11.15
# (Remove once 3.11.15 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
Expand Down
5 changes: 5 additions & 0 deletions stdlib/@tests/stubtest_allowlists/win32-py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# Incompatible changes introduced in Python 3.12.12
# (Remove once 3.12.12 becomes available for GitHub Actions)
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionActivationThreshold
pyexpat.XMLParserType.SetBillionLaughsAttackProtectionMaximumAmplification

# Incompatible changes introduced in Python 3.12.13
# (Remove once 3.12.13 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
Expand Down
9 changes: 3 additions & 6 deletions stdlib/pyexpat/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
from _typeshed import ReadableBuffer, SupportsRead
from collections.abc import Callable
from pyexpat import errors as errors, model as model
Expand Down Expand Up @@ -33,11 +32,9 @@ class XMLParserType:
# Added in Python 3.10.20, 3.11.15, 3.12.3, 3.13.10, 3.14.1
def SetAllocTrackerActivationThreshold(self, threshold: int, /) -> None: ...
def SetAllocTrackerMaximumAmplification(self, max_factor: float, /) -> None: ...
if sys.version_info >= (3, 13):
# Added in Python 3.13.4, 3.14.6
def SetBillionLaughsAttackProtectionActivationThreshold(self, threshold: int, /) -> None: ...
def SetBillionLaughsAttackProtectionMaximumAmplification(self, max_factor: float, /) -> None: ...

# Added in Python 3.10.19, 3.11.14, 3.12.12, 3.13.4, 3.14.6
def SetBillionLaughsAttackProtectionActivationThreshold(self, threshold: int, /) -> None: ...
def SetBillionLaughsAttackProtectionMaximumAmplification(self, max_factor: float, /) -> None: ...
@property
def intern(self) -> dict[str, str]: ...
buffer_size: int
Expand Down