@@ -47,15 +47,12 @@ asyncio.locks.Condition.locked
47
47
asyncio.locks.Condition.release
48
48
asyncio.proactor_events.BaseProactorEventLoop.sock_recv # nbytes parameter has different name 'n' in implementation
49
49
asyncio.selector_events.BaseSelectorEventLoop.sock_recv # nbytes parameter has different name 'n' in implementation
50
- builtins.classmethod.__get__ # this function can accept no value for the type parameter.
51
50
builtins.ellipsis # type is not exposed anywhere
52
51
builtins.function
53
52
builtins.memoryview.__contains__ # C type that implements __getitem__
54
53
sqlite3.dbapi2.Binary.__contains__ # C type that implements __getitem__
55
54
sqlite3.Binary.__contains__ # C type that implements __getitem__
56
55
builtins.object.__init__ # default C signature is incorrect
57
- builtins.property.__get__ # this function can accept no value for the type parameter.
58
- builtins.staticmethod.__get__ # this function can accept no value for the type parameter.
59
56
builtins.type.__dict__ # read-only but not actually a property; stubtest thinks it's a mutable attribute.
60
57
bz2.BZ2Decompressor.__init__ # function does not accept parameters but C signature is set
61
58
# The following CodecInfo properties are added in __new__
@@ -211,8 +208,6 @@ tkinter.Tk.report_callback_exception # A bit of a lie, since it's actually a me
211
208
tkinter.Wm.wm_iconphoto # Default value of argument can't be used without runtime error
212
209
tkinter.font.Font.__getitem__ # Argument name differs (doesn't matter for __dunder__ methods)
213
210
traceback.TracebackException.from_exception # explicitly expanding arguments going into TracebackException __init__
214
- types.GetSetDescriptorType.__get__ # this function can accept no value for the type parameter.
215
- types.MemberDescriptorType.__get__ # this function can accept no value for the type parameter.
216
211
types.MethodType.__closure__ # read-only but not actually a property; stubtest thinks it doesn't exist.
217
212
types.MethodType.__defaults__ # read-only but not actually a property; stubtest thinks it doesn't exist.
218
213
types.ModuleType.__dict__ # read-only but not actually a property; stubtest thinks it's a mutable attribute.
@@ -406,9 +401,14 @@ pickle.Pickler.memo # undocumented implementation detail, has different type in
406
401
pickle.Unpickler.memo # undocumented implementation detail, has different type in C/Python implementations
407
402
tempfile._TemporaryFileWrapper.[\w_]+ # Dynamically specified by __getattr__, and thus don't exist on the class
408
403
409
- # stubtest incorrectly highlights the type argument as not having a default value.
404
+ # Runtime signature is incorrect (https://github.com/python/cpython/issues/93021)
410
405
types.FunctionType.__get__
411
406
types.LambdaType.__get__
407
+ builtins.classmethod.__get__
408
+ builtins.property.__get__
409
+ builtins.staticmethod.__get__
410
+ types.GetSetDescriptorType.__get__
411
+ types.MemberDescriptorType.__get__
412
412
413
413
# Various classes in typing aren't types at runtime. In addition, mypy thinks some special forms are tautologically defined.
414
414
typing.[A-Z]\w+
0 commit comments