Commit Graph

5486 Commits

Author SHA1 Message Date
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
sobolevn
d029c30a16 Add _only_immortal to sys.getunicodeinternedsize (#12248)
Source: https://github.com/python/cpython/blob/3.13/Python/sysmodule.c#L2007-L2026
2024-07-01 23:31:06 +01:00
Max Muoto
5522613b99 Add missing zipimporter methods (#12242)
Add missing zipimporter methods
2024-06-30 12:53:02 -07:00
Max Muoto
ae27935396 Add _interpchannels for 3.13 (#12199) 2024-06-26 17:13:47 +01:00
Kanishk Pachauri
70d9d1fe84 fix: resolve issue with SubParsersAction.add_parser for custom ArgumentParser subclasses (#12212) 2024-06-25 16:44:45 -07:00
Kanishk Pachauri
309aebf9d7 fix: ArgParse's registry for the type keyword argument to add_argument (#12194) 2024-06-25 17:31:45 +02:00
Sebastian Rittau
271df8ef04 Remove obsolete mypy bug workaround in abspath() (#12208) 2024-06-25 14:01:21 +02:00
Max Muoto
6b2033a783 Improve accuracy of dataclasses.Field (#12082) 2024-06-24 11:25:50 +02:00
Kanishk Pachauri
de22c30fa8 tarfile: fix preset type for tarfile.open (#12193) 2024-06-23 16:08:31 -07:00
Kumar Aditya
23c489642d remove child watchers from asyncio (#12189)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-06-23 15:09:45 +01:00
Max Muoto
b7d536f910 Add missing encoding arg to check_call and call to match POpen (#12086) 2024-06-23 09:36:29 +02:00
Sebastian Rittau
95faa1ae24 Add tests to functools.wraps (#12173)
These tests demonstrate the issue described in #10653.
2024-06-22 07:17:09 -07:00
Kumar Aditya
8ddd5102ed remove Generator from _FutureLike (#12185)
It is not allowed in Python 3.12+.
2024-06-22 06:59:30 -07:00
Max Muoto
72a85f4c99 Add missing tarfile.open overload for writable objects (#12117) 2024-06-21 11:20:10 +02:00
Marc Mueller
6dda799d8a Add type ignores for mypy 1.11 (#12177) 2024-06-20 15:49:50 +01:00
Sebastian Rittau
dc504f5175 Deprecate logging.getLevelName(str) (#12093)
See https://docs.python.org/3/library/logging.html#logging.getLevelName
2024-06-20 00:43:46 -07:00
Abel Cheung
578b815ef7 Add missing arg annotation for xml.sax.handler.ContentHandler (#12122) 2024-06-20 00:40:58 -07:00