Commit Graph

5652 Commits

Author SHA1 Message Date
Max Muoto
240e3d8004 Correct MappingProxyType for 3.8+ (#12369)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-07-20 13:37:30 -07:00
Max Muoto
304b8e9626 Add missing posix functions for 3.13 (#12375) 2024-07-20 12:26:35 -07:00
Max Muoto
fa0c14fa33 Enforce Positional Arguments for _CData.from_param (#12373) 2024-07-20 12:21:36 -07:00
Max Muoto
9f9a461bc1 Add mmap MacOS constants for 3.13 (#12374) 2024-07-20 12:17:05 -07:00
Max Muoto
18bac0ba7e Add os.waitid for macos in 3.13 (#12376)
Add waitid for macos in 3.13
2024-07-20 12:15:16 -07:00
Sebastian Rittau
6552aa3d2c Bump pyright to 1.1.372 (#12361) 2024-07-18 03:08:53 -07:00
Jelle Zijlstra
d482d4e83c More precise type for TypeAliasType.__getitem__ (#12354)
At runtime, this always returns a GenericAlias; see typealias_subscript
in Objects/typevarobject.c. See microsoft/pyright#8444.
2024-07-17 06:37:31 -07:00
Jelle Zijlstra
1209816e48 Add .closed property to NamedTemporaryFile (#12349)
This is necessary for a NamedTemporaryFile to be compatible with io.TextIOWrapper.
2024-07-16 13:03:54 +02:00
Max Muoto
d56c7bb2e0 Enforce positional arguments for set_threshold in gc (#12350) 2024-07-16 11:29:25 +02:00
Max Muoto
0df6028dc8 Use Final for Constant Literals in the stdlib (#12332)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-07-15 18:07:34 +01:00
Justin Su
02b05d67c4 Fix type for FileCookieJar.filename (#12333) 2024-07-15 14:30:32 +02:00
Max Muoto
ac3d422330 Enforce positional args for codec functions (#12343) 2024-07-15 14:03:33 +02:00
Max Muoto
f863db6bc5 Update tkinter.PhotoImage (#12342)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-07-15 00:42:27 +03:00
Max Muoto
1b9e90baab Use positional-only parameters for ctypes functions (#12341) 2024-07-13 22:16:42 -07:00
Max Muoto
35b84f2f21 Update email.utils for 3.13 (#12336)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-07-13 14:08:28 -07:00
Kirill Podoprigora
1eb6e223f4 Add `MimeTypes.add_types` method (#12329) 2024-07-13 10:29:46 +02:00
Max Muoto
670ca3125b Resolve asyncio issues for 3.13 (#12327) 2024-07-13 10:12:15 +02:00
Max Muoto
6a9b53e719 Update _collections_abc for 3.13 (#12309) 2024-07-11 17:35:16 -07:00
Max Muoto
4f2dcdecde Update CoverageResults for 3.13 (#12325) 2024-07-11 17:19:40 -07:00
Kirill Podoprigora
ed34247cfa [warnings]: Update _ActionKind to match Python 3.14 (#12243) 2024-07-11 17:15:32 -07:00
Max Muoto
4316e00c9e Make MemoryView Generic, make cast accurate (#12247) 2024-07-11 17:12:44 -07:00
Victorien
3b5b642fdb Use TypeIs for inspect.getmembers(_static) (#12275) 2024-07-11 17:10:21 -07:00
Max Muoto
c01bd592d6 Fix 3.13 bdb issues (#12324) 2024-07-11 17:07:34 -07:00
Max Muoto
3bb81c139b SRE_FLAG_TEMPLATE removed in 3.13 (#12322) 2024-07-11 17:07:11 -07:00
Max Muoto
08c44b7895 Resolve importlib.metadata 3.13 issues (#12299) 2024-07-11 17:04:55 -07:00
Max Muoto
4ccf78d234 Fix site module 3.13 issues (#12323) 2024-07-11 16:54:12 -07:00
Max Muoto
706a0ff801 Update zipfile for 3.13 (#12321) 2024-07-11 16:50:43 -07:00
Max Muoto
e80ca57ba1 DBM updates for 3.13 (#12302) 2024-07-11 17:51:53 +02:00
Kanishk Pachauri
b24dfccb74 Add defaults to the generic parameters of BaseExceptionGroup and ExceptionGroup (#12258)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-07-11 06:11:19 -07:00
Max Muoto
64d4949cae Fix dis module issues for 3.13 (#12306) 2024-07-10 17:49:15 +02:00
sobolevn
9f2a9d8579 Add a typevar with a default to io.TextIOWrapper (#12286) 2024-07-10 11:41:57 +02:00
Max Muoto
9bf9d1571e Fix unittest for 3.13 (#12307) 2024-07-10 10:23:58 +02:00
Max Muoto
f698bb67fa Fix threading.pyi issues (#12304) 2024-07-09 22:44:55 -07:00
Max Muoto
465fdaad48 Update pydoc for Python 3.13 (#12305) 2024-07-09 22:44:02 -07:00
Max Muoto
2a68dfc5fb maildir 3.13 changes (#12303) 2024-07-10 00:18:18 +02:00
Max Muoto
4b9eadad77 Resolve 3.13 pdb errors (#12267) 2024-07-09 22:15:37 +02:00
Max Muoto
23fd30f563 Update types.SimpleNamespace for 3.13 (#12297) 2024-07-09 21:22:57 +02:00
Max Muoto
0fc33ace47 Update xml.etree.ElementTree for 3.13 (#12277) 2024-07-04 12:31:25 -07:00
Max Muoto
6356150327 Fix Pathlib.from_uri return-type (#12276) 2024-07-04 12:28:55 -07:00
Max Muoto
582f08bf7c Add _interpqueues for 3.13 (#12240) 2024-07-04 18:41:11 +02:00
Jelle Zijlstra
64d07ae128 abc: Shorten @deprecated messages (#12271)
Noticed this in primer output from python/mypy#17476.
2024-07-04 07:35:33 +01:00
Max Muoto
4faad91075 Add _interpreters module for 3.13 (#12230) 2024-07-03 21:33:07 -07:00
Max Muoto
0d2b9dfe12 Add missing replace dunders (#12265) 2024-07-03 20:30:22 -07:00
Kumar Aditya
98cf9a23eb Fix stubs for async generator methods (#12232) 2024-07-03 20:18:28 -07:00
Alexander Daryin
bc6335c238 Create check_zip.py (#12233) 2024-07-03 20:16:14 -07:00
Max Muoto
683ff51acb Resolve 3.13 turtle issues (#12266) 2024-07-03 07:49:21 +01:00
Max Muoto
989e25043c More accurate mmap.seekable type for 3.13 (#12264) 2024-07-02 19:12:01 -07:00
Max Muoto
b5ec69f608 Add missing strict argument for itertools.batched (3.13) (#12256)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-07-01 23:33:31 -07:00
Shantanu
73d5a55a32 Fixes for 3.13b3 (#12257)
Fixes #12255
2024-07-01 23:07:08 -07:00
Bénédikt Tran
6b4cd03d34 Update `symtable` stubs for 3.13 and 3.14 (#12183) 2024-07-01 23:49:34 +01:00