mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-27 05:12:10 +08:00
Add PEP 706 filters to tarfile (#10316)
Fixes #10315 Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
@@ -208,3 +208,6 @@ asynchat.async_chat.use_encoding
|
||||
asynchat.find_prefix_at_end
|
||||
pkgutil.ImpImporter\..*
|
||||
pkgutil.ImpLoader\..*
|
||||
|
||||
# Omit internal _KEEP argument
|
||||
tarfile.TarInfo.replace
|
||||
|
||||
@@ -171,3 +171,6 @@ asynchat.async_chat.use_encoding
|
||||
asynchat.find_prefix_at_end
|
||||
pkgutil.ImpImporter\..*
|
||||
pkgutil.ImpLoader\..*
|
||||
|
||||
# Omit internal _KEEP argument
|
||||
tarfile.TarInfo.replace
|
||||
|
||||
@@ -137,20 +137,6 @@ ssl.OP_LEGACY_SERVER_CONNECT
|
||||
ssl.Options.OP_LEGACY_SERVER_CONNECT
|
||||
ssl.RAND_pseudo_bytes
|
||||
ssl.wrap_socket
|
||||
tarfile.AbsoluteLinkError
|
||||
tarfile.AbsolutePathError
|
||||
tarfile.FilterError
|
||||
tarfile.LinkOutsideDestinationError
|
||||
tarfile.OutsideDestinationError
|
||||
tarfile.SpecialFileError
|
||||
tarfile.TarFile.extract
|
||||
tarfile.TarFile.extractall
|
||||
tarfile.TarFile.extraction_filter
|
||||
tarfile.TarInfo.replace
|
||||
tarfile.__all__
|
||||
tarfile.data_filter
|
||||
tarfile.fully_trusted_filter
|
||||
tarfile.tar_filter
|
||||
turtle.RawTurtle.teleport
|
||||
turtle.TNavigator.teleport
|
||||
turtle.TPen.teleport
|
||||
@@ -336,3 +322,6 @@ typing_extensions\.Final
|
||||
typing\.NamedTuple
|
||||
typing\.LiteralString
|
||||
typing\.Annotated
|
||||
|
||||
# Omit internal _KEEP argument
|
||||
tarfile.TarInfo.replace
|
||||
|
||||
@@ -202,3 +202,6 @@ asynchat.async_chat.use_encoding
|
||||
asynchat.find_prefix_at_end
|
||||
pkgutil.ImpImporter\..*
|
||||
pkgutil.ImpLoader\..*
|
||||
|
||||
# Omit internal _KEEP argument
|
||||
tarfile.TarInfo.replace
|
||||
|
||||
@@ -200,3 +200,6 @@ asynchat.async_chat.use_encoding
|
||||
asynchat.find_prefix_at_end
|
||||
pkgutil.ImpImporter\..*
|
||||
pkgutil.ImpLoader\..*
|
||||
|
||||
# Omit internal _KEEP argument
|
||||
tarfile.TarInfo.replace
|
||||
|
||||
@@ -613,3 +613,18 @@ typing.IO.__iter__ # See https://github.com/python/typeshed/commit/97bc450acd60
|
||||
# but have yet to find their way to all GitHub Actions images
|
||||
(sys.get_int_max_str_digits)?
|
||||
(sys.set_int_max_str_digits)?
|
||||
|
||||
# Added or modified in a patch release, backported to all security branches,
|
||||
# but have yet to find their way to all GitHub Actions images
|
||||
(tarfile.tar_filter)?
|
||||
(tarfile.fully_trusted_filter)?
|
||||
(tarfile.data_filter)?
|
||||
(tarfile.TarFile.extractall)?
|
||||
(tarfile.TarFile.extract)?
|
||||
(tarfile.SpecialFileError)?
|
||||
(tarfile.OutsideDestinationError)?
|
||||
(tarfile.LinkOutsideDestinationError)?
|
||||
(tarfile.FilterError)?
|
||||
(tarfile.AbsolutePathError)?
|
||||
(tarfile.AbsoluteLinkError)?
|
||||
(shutil.unpack_archive)?
|
||||
|
||||
Reference in New Issue
Block a user