mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-25 04:16:44 +08:00
Stubtest exceptions for sys, symtable, sysconfig and tarfile (#5138)
This commit is contained in:
@@ -77,7 +77,7 @@ smtplib.SMTP.sendmail
|
||||
sre_constants.RANGE_IGNORE
|
||||
ssl.PROTOCOL_SSLv3
|
||||
ssl.RAND_egd
|
||||
sys.UnraisableHookArgs
|
||||
sys.UnraisableHookArgs # Not exported from sys
|
||||
types.ClassMethodDescriptorType.__get__
|
||||
types.CodeType.replace
|
||||
types.MethodDescriptorType.__get__
|
||||
|
||||
@@ -102,7 +102,7 @@ ssl.AF_INET
|
||||
ssl.PROTOCOL_SSLv3
|
||||
ssl.RAND_egd
|
||||
symtable.SymbolTable.has_exec
|
||||
sys.UnraisableHookArgs
|
||||
sys.UnraisableHookArgs # Not exported from sys
|
||||
time.CLOCK_PROF
|
||||
time.CLOCK_UPTIME
|
||||
types.ClassMethodDescriptorType.__get__
|
||||
|
||||
@@ -362,13 +362,11 @@ sunau.Au_write.getmark
|
||||
sunau.Au_write.getmarkers
|
||||
sunau.Au_write.setcomptype
|
||||
sunau.Au_write.setmark
|
||||
symtable.Symbol.__init__
|
||||
symtable.SymbolTable.__init__
|
||||
sys.gettotalrefcount
|
||||
sys.implementation
|
||||
sysconfig.is_python_build
|
||||
sysconfig.parse_config_h
|
||||
tarfile.TarFile.errors
|
||||
sys.gettotalrefcount # Available on python debug builds
|
||||
sys.implementation # Actually SimpleNamespace but then you wouldn't have convenient attributes
|
||||
tarfile.TarFile.errors # errors is initialized for some reason as None even though it really only accepts str
|
||||
# SpooledTemporaryFile implements IO except these methods
|
||||
# See also https://github.com/python/typeshed/pull/2452#issuecomment-420657918
|
||||
tempfile.SpooledTemporaryFile.__next__
|
||||
tempfile.SpooledTemporaryFile.readable
|
||||
tempfile.SpooledTemporaryFile.seekable
|
||||
|
||||
Reference in New Issue
Block a user