|
6 | 6 |
|
7 | 7 | importlib.abc.MetaPathFinder.find_spec # Not defined on the actual class, but expected to exist. |
8 | 8 | importlib.abc.PathEntryFinder.find_spec # Not defined on the actual class, but expected to exist. |
| 9 | +tkinter.simpledialog.[A-Z_]+ |
| 10 | +tkinter.simpledialog.TclVersion |
| 11 | +tkinter.simpledialog.TkVersion |
9 | 12 | tarfile.TarInfo.__slots__ # it's a big dictionary at runtime and the dictionary values are a bit long |
10 | 13 |
|
11 | 14 |
|
@@ -456,6 +459,15 @@ typing(_extensions)?\.IO\.__next__ |
456 | 459 |
|
457 | 460 | # typing.IO uses positional-or-keyword arguments, but in the stubs we prefer |
458 | 461 | # to mark these as positional-only for compatibility with existing sub-classes. |
| 462 | +typing(_extensions)?\.BinaryIO\.write |
| 463 | +typing(_extensions)?\.IO\.read |
| 464 | +typing(_extensions)?\.IO\.readline |
| 465 | +typing(_extensions)?\.IO\.readlines |
| 466 | +typing(_extensions)?\.IO\.seek |
| 467 | +typing(_extensions)?\.IO\.truncate |
| 468 | +typing(_extensions)?\.IO\.write |
| 469 | +typing(_extensions)?\.IO\.writelines |
| 470 | + |
459 | 471 | types.MethodType.__closure__ # read-only but not actually a property; stubtest thinks it doesn't exist. |
460 | 472 | types.MethodType.__code__ # read-only but not actually a property; stubtest thinks it doesn't exist. |
461 | 473 | types.MethodType.__defaults__ # read-only but not actually a property; stubtest thinks it doesn't exist. |
@@ -487,3 +499,7 @@ xml.etree.ElementTree.XMLParser.__init__ # Defined in C so has general signatur |
487 | 499 | # Iterable classes that don't define __iter__ at runtime (usually iterable via __getitem__) |
488 | 500 | # These would ideally be special-cased by type checkers; see https://github.com/python/mypy/issues/2220 |
489 | 501 | xml.etree.ElementTree.Element.__iter__ |
| 502 | + |
| 503 | +# These three have a pos-or-keyword first parameter at runtime, but deliberately have a pos-only first parameter in the stub. #6812 |
| 504 | +posixpath.join |
| 505 | +ntpath.join |
0 commit comments