mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 13:32:26 +08:00
Fix various py310 stubtest errors (#7239)
This commit is contained in:
@@ -129,17 +129,13 @@ os.path.join
|
||||
pstats.SortKey.__new__
|
||||
tkinter.EventType.__new__
|
||||
|
||||
# Rest of these errors are new in Python 3.10:
|
||||
asyncio.proactor_events._ProactorReadPipeTransport.__init__
|
||||
distutils.command.bdist_wininst
|
||||
py_compile.main
|
||||
sched.Event.__new__
|
||||
sched.Event._fields
|
||||
signal.default_int_handler
|
||||
distutils.command.bdist_wininst # removed in 3.10
|
||||
|
||||
# stubtest complains that in 3.10 the default argument is inconsistent with the annotation,
|
||||
# but in 3.10+ calling the function without the default argument is in fact deprecated,
|
||||
# so it's better to ignore stubtest
|
||||
ssl.SSLContext.__new__
|
||||
ssl._create_unverified_context
|
||||
unicodedata.ucnhash_CAPI
|
||||
unittest.mock.create_autospec
|
||||
|
||||
# Exists at runtime, but missing from stubs
|
||||
_ast.Tuple.dims
|
||||
@@ -169,7 +165,6 @@ multiprocessing.managers.SharedMemoryServer.shutdown
|
||||
multiprocessing.managers.SharedMemoryServer.track_segment
|
||||
pyexpat.XMLParserType.SkippedEntityHandler
|
||||
pyexpat.XMLParserType.intern
|
||||
sched.Event.sequence
|
||||
types.CoroutineType.cr_origin
|
||||
typing._SpecialForm.__call__
|
||||
unicodedata.UCD.is_normalized
|
||||
|
||||
Reference in New Issue
Block a user