Commit Graph

237 Commits

Author SHA1 Message Date
Stephen Morton
578af27510 add types.GenericAlias.__mro_entries__ (#13284) 2025-01-15 15:36:02 +01:00
Sebastian Rittau
f26ad2059e Remove Python3.8 stubtest allowlists (#13389)
Consolidate remaining allowlists
2025-01-10 15:17:36 +01:00
Stephen Morton
2a030be2e9 fix ctypes.GetLastError (#13379) 2025-01-09 19:03:56 -08:00
Stephen Morton
e55c13a612 update allowlist comment for SupportsAbs and SupportsRound (#13380)
The answer to the question is that mypy infers it just fine, but
stubtest doesn't check for attributes inherited from the metaclass
because that's almost never what we want. In this case,
the runtime implementation doesn't get __type_params__ from
builtins.type either. It's actually defined for the class due to
the use of PEP-695 syntax.
2025-01-09 14:00:54 -08:00
Refael Ackermann
ca6251ad64 stdlib: new signature for CDLL in 3.12 (#13313) 2024-12-29 17:24:12 -08:00
Stephen Morton
801c5c9495 improve identity of threading module's Lock and RLock (#12966) 2024-12-28 08:00:04 -08:00
James Hilton-Balfe
ab75b691c2 Make collections.abcs more consistent with runtime implementation (#10816)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-12-27 21:31:59 -08:00
Stephen Morton
a4b7c36366 add missing things in multiprocessing (#13153) 2024-12-27 21:13:30 -08:00
Max Muoto
92231a5728 Update tkinter.Misc for 3.13 (#12367) 2024-12-27 20:59:32 -08:00
Stephen Morton
43f637b5e2 add _GeneratorContextManagerBase.__init__ (#13246)
I think that #6676 showed that Paramspec didn't work, but that
wasn't actually the fault of _GeneratorContextManagerBase.
2024-12-27 20:04:57 -08:00
Stephen Morton
b29e26a628 select.poll is not available on windows (#13243) 2024-12-27 20:04:24 -08:00
Stephen Morton
897b350729 fix deprecated ast classes (#13285) 2024-12-27 20:01:53 -08:00
Stephen Morton
d8822689f7 fix stubs for asyncio.BaseEventLoop.subprocess_exec (#13220) 2024-12-25 14:25:39 -08:00
Stephen Morton
aaa8a7c47e ssl.Purpose.__new__ comes from Enum (#13237) 2024-12-24 09:48:08 -08:00
Stephen Morton
ea91db2380 fix update method of WeakKeyDictionary and WeakValueDictionary (#13249) 2024-12-22 16:53:55 -08:00
Stephen Morton
d8b7ad6e89 fixing up ctypes.memmove and ctypes.memset (#13252) 2024-12-22 16:53:03 -08:00
Stephen Morton
e744b2eb34 move numbers.Number.__hash__ and tarfile.TarFile.errors to don't fix (#13254) 2024-12-22 16:50:06 -08:00
Stephen Morton
097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
Stephen Morton
8e31597fa5 add BaseListProxy.__imul__ (#13266) 2024-12-19 16:04:00 -08:00
Stephen Morton
1964076a8e move a couple deliberate omissions to don't fix (#13267) 2024-12-19 01:11:27 +01:00
Stephen Morton
bd728fbfae use Literal[_MISSING_TYPE.MISSING] for dataclasses.field defaults (#13256) 2024-12-18 19:21:31 +01:00
Stephen Morton
7c7f91233f DevpollSelector is Solaris only (#13242) 2024-12-14 19:53:40 -08:00
Stephen Morton
fc11e83510 move two more allowlist entries to can't fix (#13247) 2024-12-14 06:17:18 -08:00
Stephen Morton
acebd50eee adjusting overload of fractions.Fraction.__new__ (#13241) 2024-12-14 06:13:00 -08:00
Stephen Morton
364fd7d18f a few more allowlist entries moved to don't fix (#13236) 2024-12-13 14:59:47 -08:00
Stephen Morton
1ec5ccfdac move configparser.SectionProxy allowlist to don't fix section (#13234) 2024-12-12 13:38:21 -08:00
Stephen Morton
b0768596d2 correct parameter name for sock_recv of BaseEventLoop subclasses (#13212) 2024-12-09 18:26:34 -08:00
Stephen Morton
4664a1406e move deliberately missing things to the appropriate section (#13203) 2024-12-09 14:16:15 -08:00
Stephen Morton
edee8d3157 add CLONE_NEWTIME to os.__all__ (#13221) 2024-12-08 22:10:41 +00:00
Stephen Morton
dc6b89c793 adjust allowlist for urllib.response.addbase (#13219)
I don't think we need a regex for just two items
2024-12-07 19:54:26 -08:00
Stephen Morton
4aad825db3 fix the weird special builtins (#13213) 2024-12-08 00:18:15 +00:00
Stephen Morton
6b98467337 Add xml.sax.expatreader (#13188) 2024-12-05 20:16:49 +01:00
Stephen Morton
1798badcdd update for the new patch releases (#13196) 2024-12-05 18:24:07 +01:00
Stephen Morton
9e033f3287 allowlist updates for new patch releases of 3.12 and 3.13 (#13194) 2024-12-04 12:56:12 -08:00
Stephen Morton
ebe2558c2c add tkinter differences for 3.13 (#13156)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-12-04 22:39:49 +02:00
Stephen Morton
d70fad09dd selectors.KqueueSelector is documented as BSD-only (#13183) 2024-12-03 21:59:39 -08:00
Stephen Morton
fe26deaee6 a close reading of the pickle module (#12971) 2024-12-03 20:03:54 -08:00
Stephen Morton
6d32917d7f Move a couple allowlist entries to "don't fix" (#13187) 2024-12-03 15:36:46 -08:00
Stephen Morton
5425311939 sort platform allowlists (#13179) 2024-12-03 22:25:04 +01:00
Stephen Morton
5461d37acf de-duplicate _dummy_threading (#13063)
While technically it's an independent implementation, the classes
all call themselves `threading.*` and have the same interfaces.

Except for local, which is from _threading_local instead.
2024-12-03 13:44:06 +01:00
Stephen Morton
4890153e61 add zipfile._path.glob (#13154) 2024-12-03 13:42:15 +01:00
Stephen Morton
f3dfc90741 sys.tracebacklimit can be set to None (#13173) 2024-12-03 13:16:45 +01:00
Stephen Morton
a980fc5308 sort the common allowlist (#13164) 2024-12-03 13:07:48 +01:00
Stephen Morton
d5b0e4aa35 fixes to select module constants (#13174) 2024-12-03 12:45:10 +01:00
Stephen Morton
c606b4f8ad add socket.AF_DECnet value (#13172) 2024-12-03 09:08:49 +01:00
Stephen Morton
d9e5333ab8 sort security backport allowlist entries (#13165) 2024-12-03 09:07:09 +01:00
Stephen Morton
c713947801 sort allowlists by version more consistently (#13160)
This makes it easier to ensure that categorization and comments
are in sync between one allowlist and another.
2024-12-02 17:29:07 +01:00
Stephen Morton
2ccc53bb67 Add a couple missing tkinter things (#13149) 2024-11-29 03:04:31 +02:00
Stephen Morton
7a0f6837e9 add missing ctypes things (#13147) 2024-11-28 12:09:47 -08:00
Stephen Morton
5c7d51f3b8 add missing attributes of _thread_local._localimpl (#13143)
add missing attributes of _thread_local._localimpl
2024-11-28 07:10:37 -08:00