Commit Graph

5615 Commits

Author SHA1 Message Date
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
Sebastian Rittau
fdce887b94 Add missing struct_spwd fields (#12158) 2024-06-18 06:59:43 -07:00
Sebastian Rittau
c303b3221e plock is not available on linux (#12161) 2024-06-18 06:41:55 -07:00
Patrick Rauscher
7df401e5e7 multiprocessing: fix iterator of Array (#12129) (#12130) 2024-06-18 13:04:14 +02:00
Max Muoto
d7adfeb857 Add missing __init__ for ReferenceType (#12125) 2024-06-18 13:00:40 +02:00
Sebastian Rittau
e29579458d Document select.epoll.register allowlist entries (#12159) 2024-06-18 12:16:52 +02:00
Sebastian Rittau
21365a37f4 Document the availability of the os.CLONE_ constants (#12160) 2024-06-18 12:16:12 +02:00
Pavel Karateev
587ad6bad8 tkinter.tix is removed in Python 3.13 (#12134)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-06-12 15:15:11 +01:00
Alex Waygood
0c3514d036 Sort VERSIONS alphabetically (#12133) 2024-06-12 16:03:32 +02:00
Alex Waygood
3ab03deec3 Upgrade to latest 3.12 and 3.13 versions for stubtest (#12131) 2024-06-12 05:16:39 -06:00
Alex Waygood
9197ace5ec Bump flake8-pyi to 24.6.0 (#12132) 2024-06-12 11:46:23 +01:00
Alex Waygood
7fc9d65ee2 Fix false positives from @deprecated for shutil.rmtree (#12116) 2024-06-08 21:27:26 +02:00
Thanos
0b1259ca0c Make FunctionType.__kwdefaults__ optional. (#12113) 2024-06-07 16:57:41 -06:00
Kirill Podoprigora
1794cfd26e [3.14] Add annotations for `ast.compare` (#12111)
Add annotations for ast.compare
2024-06-07 10:21:54 -06:00
Max Muoto
4da3572827 Add GenericAlias.__(r)or__ (#12105) 2024-06-06 21:57:45 +01:00
Eric Traut
6bb5424ddd Fixed definitions of EnumCheck and FlagBoundary enum members (#12100)
Fixed definitions of EnumCheck and FlagBoundary enum members so they conform to the recently updated typing standard.
2024-06-05 17:19:01 -07:00
Colin Watson
97ccd8985a Tighten annotation of logging.getLevelName (#12088)
To better reflect the implementation's behaviour,
https://github.com/python/typeshed/pull/2730 changed
`logging.getLevelName` to accept `int | str` and return `Any` (the
latter due to the need to avoid union return types).  However, this
isn't ideal if you're passing in an `int`, in which case the
implementation always returns a `str`.  Add overloads for this.
2024-06-04 10:16:53 +02:00
Amin Alaee
124d02034d ast, configparser, glob: Python 3.13 updates (#12050)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-06-01 07:13:10 -07:00
Amin Alaee
9908f60741 enum: Python 3.13 update (#12049) 2024-05-31 20:50:26 -07:00
Amin Alaee
321c0ce75e math, mimetypes, mmap, multiprocessing, sqlite: Python 3.13 updates (#12062) 2024-05-30 14:56:22 +02:00
Amin Alaee
b780ac0ab0 py313: mark Linux-only decimal allowlist entries as unfixable for now (#12061) 2024-05-30 12:44:13 +01:00
Sam Balana
2e83e654b1 Extend itertools.product to 10 arguments (#12023) 2024-05-29 15:15:24 +02:00