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
Amin Alaee
b45456739a
platform, tarfile, io: Python 3.13 updates (#12056 )
2024-05-29 14:37:26 +02:00
Amin Alaee
460c35bd6f
pathlib: Python3.13 updates (#12048 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-05-27 15:43:15 +01:00
Amin Alaee
05955c0cb8
json, ipaddress, locale: Python3.13 updates (#12046 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-05-27 13:12:00 +01:00
Alex Waygood
de0fc0afb8
traceback: py313 updates (#12032 )
2024-05-27 12:56:44 +01:00
muamerp
10bf03bd38
Change type of logging.RotatingFileHandler.maxBytes from str to int ( #12045 )
2024-05-27 13:34:34 +02:00
Amin Alaee
f9536ec21c
time: Python3.13 updates (#12043 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-05-27 10:27:23 +01:00
Neil Girdhar
6246a38e8e
Use TypeIs in is_dataclass ( #11929 )
2024-05-26 13:29:24 +02:00
Alex Waygood
fc33ba67ba
builtins: updates for py313 ( #12028 )
2024-05-24 15:27:15 -04:00
Alex Waygood
966fbfb300
py313: Consolidate _pyrepl allowlist entries ( #12031 )
2024-05-24 12:24:20 -07:00
Alex Waygood
2985ef414c
typing(_extensions) updates for py313 (#12030 )
2024-05-24 15:16:15 -04:00
Alex Waygood
0152a6c134
Add __class_getitem__ methods new in py313 ( #12029 )
2024-05-24 12:11:22 -07:00
Alex Waygood
ac6c61ba04
Stubtest stdlib: unpin 3.11 and 3.12 micro versions ( #12022 )
2024-05-23 13:24:28 -07:00
Alex Waygood
dccc4e1f07
Run stubtest on py313 with macos and Windows in CI ( #12020 )
2024-05-23 14:55:15 -04:00
benchatt
044428446f
add field deprecated to classes and add_parser for argparse 3.13 ( #12019 )
2024-05-23 14:47:37 -04:00
benchatt
90f8cfca0b
add deprecated=False parameter to more argparse classes for 3.13 ( #12018 )
2024-05-23 14:13:41 -04:00
benchatt
cf4678c84a
Add deprecated parameter to two classes in argparse ( #12017 )
2024-05-23 13:46:06 -04:00
Alex Waygood
4bc70e1e4d
Use mypy from git for stdlib stubtest ( #12016 )
2024-05-23 13:08:18 -04:00
funkyrailroad
76a42727ab
Add datetime __replace__ methods on 3.13+ ( #12014 )
2024-05-23 11:56:09 -04:00
funkyrailroad
d75a47c2b7
Update BaseException and BaseExceptionGroup for 3.13 ( #12010 )
2024-05-23 10:44:41 -04:00