Update importlib to reflect recent changes (#6557)

This commit is contained in:
Alex Waygood
2021-12-10 14:32:55 +01:00
committed by GitHub
parent e330a74dc3
commit 84fd495b65
12 changed files with 65 additions and 24 deletions
+3 -11
View File
@@ -43,6 +43,9 @@ gettext.translation
hmac.new # Stub is a white lie; see comments in the stub
http.server.SimpleHTTPRequestHandler.__init__ # *args is expanded
importlib.abc.Traversable.__init__ # Inherits __init__ from typing.Protocol
importlib.metadata.PackageMetadata.__init__ # Inherits __init__ from typing.Protocol
importlib.metadata._meta.PackageMetadata.__init__ # Inherits __init__ from typing.Protocol
importlib.metadata._meta.SimplePath.__init__ # Inherits __init__ from typing.Protocol
ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
ipaddress._BaseNetwork.broadcast_address
@@ -150,17 +153,6 @@ distutils.dist.DistributionMetadata.set_keywords
distutils.dist.DistributionMetadata.set_platforms
distutils.util.get_host_platform
email.headerregistry.MessageIDHeader.max_count
importlib.abc.TraversableResources
importlib.machinery.PathFinder.find_distributions
importlib.metadata.Distribution.name
importlib.metadata.EntryPoint.attr
importlib.metadata.EntryPoint.dist
importlib.metadata.EntryPoint.matches
importlib.metadata.EntryPoint.module
importlib.metadata.EntryPoint.pattern
importlib.metadata.PackageMetadata
importlib.resources.ResourceReader
importlib.util.source_hash
lib2to3.pgen2.tokenize.COLONEQUAL
multiprocessing.managers.SharedMemoryServer.create
multiprocessing.managers.SharedMemoryServer.list_segments
+1
View File
@@ -25,6 +25,7 @@ enum.Enum._generate_next_value_
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve
hmac.HMAC.__init__
importlib.metadata # Added in 3.8
importlib.metadata._meta # Added in 3.10
importlib.resources # Added in 3.7
io.StringIO.readline
ipaddress._BaseNetwork.__init__
+1 -1
View File
@@ -29,6 +29,7 @@ fractions.Fraction.__new__ # overload is too complicated for stubtest to resolv
hmac.HMAC.__init__
http.server.SimpleHTTPRequestHandler.__init__ # *args is expanded
importlib.metadata # Added in 3.8
importlib.metadata._meta # Added in 3.10
ipaddress._BaseNetwork.__init__
json.loads
multiprocessing.shared_memory
@@ -110,7 +111,6 @@ dummy_threading.setprofile
dummy_threading.settrace
dummy_threading.stack_size
html.parser.HTMLParser.unescape
importlib.util.source_hash
lib2to3.pgen2.tokenize.COLONEQUAL
platform.popen
plistlib.Data.asBase64
+1 -3
View File
@@ -37,6 +37,7 @@ gettext.install # codeset default value is ['unspecified'] so can't be specifie
gettext.translation # codeset default value is ['unspecified'] so can't be specified
hmac.new # Stub is a white lie; see comments in the stub
http.server.SimpleHTTPRequestHandler.__init__ # *args is expanded
importlib.metadata._meta # Added in 3.10
ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
ipaddress._BaseNetwork.broadcast_address
@@ -134,9 +135,6 @@ dummy_threading.settrace
dummy_threading.stack_size
email.headerregistry.MessageIDHeader.max_count
html.parser.HTMLParser.unescape
importlib.machinery.PathFinder.find_distributions
importlib.metadata.EntryPoint.pattern
importlib.util.source_hash
lib2to3.pgen2.tokenize.COLONEQUAL
multiprocessing.managers.SharedMemoryServer.create
multiprocessing.managers.SharedMemoryServer.list_segments
+1 -6
View File
@@ -40,6 +40,7 @@ gettext.translation
hmac.new # Stub is a white lie; see comments in the stub
http.server.SimpleHTTPRequestHandler.__init__ # *args is expanded
importlib.abc.Traversable.__init__ # Inherits __init__ from typing.Protocol
importlib.metadata._meta # Added in 3.10
ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
ipaddress._BaseNetwork.broadcast_address
@@ -135,12 +136,6 @@ email.headerregistry.MessageIDHeader.max_count
hmac.HMAC.digest_cons
hmac.HMAC.inner
hmac.HMAC.outer
importlib.abc.TraversableResources
importlib.machinery.PathFinder.find_distributions
importlib.metadata.EntryPoint.attr
importlib.metadata.EntryPoint.module
importlib.metadata.EntryPoint.pattern
importlib.util.source_hash
lib2to3.pgen2.tokenize.COLONEQUAL
multiprocessing.managers.SharedMemoryServer.create
multiprocessing.managers.SharedMemoryServer.list_segments