xml: update for security fix (#11648)

Fixes #11643
This commit is contained in:
Shantanu authored and GitHub committed 2024-03-22 13:07:05 -07:00
1 parent 9dcadd2d57
commit 13265a9347
3 files changed
+12

No files matched your search

+2
View File
@@ -32,6 +32,8 @@ class XMLParserType:
def ExternalEntityParserCreate(self, context: str | None, encoding: str = ..., /) -> XMLParserType: ...
def SetParamEntityParsing(self, flag: int, /) -> int: ...
def UseForeignDTD(self, flag: bool = True, /) -> None: ...
def GetReparseDeferralEnabled(self) -> bool: ...
def SetReparseDeferralEnabled(self, enabled: bool, /) -> None: ...
@property
def intern(self) -> dict[str, str]: ...
buffer_size: int