Commit Graph

5155 Commits

Author SHA1 Message Date
Alex Waygood
a570fb6ced Fix various stubtest complaints on Python 3.12 (#10691) 2023-09-10 14:54:43 -07:00
Alex Waygood
6dda2fe9c8 Fix stubtest complaints for various .get() methods (#10690) 2023-09-10 14:48:09 -07:00
Marc Mueller
0bc34fc49c Fix importlib.util.source_hash return annotation (#10686) 2023-09-08 16:07:02 -07:00
Alex Waygood
c50a708818 Update poplib and smtplib for py312 (#10685) 2023-09-08 18:42:03 +01:00
Nikita Sobolev
53144ca572 Update importlib.metadata to 3.12 (#10665) 2023-09-08 12:42:56 +01:00
Alex Waygood
6eec191739 Improve the accuracy of (default)dict.__(r)or__ (#10679) 2023-09-08 11:22:17 +01:00
Shantanu
4df9634427 Remove pathlib.PurePath.__eq__ (#10662)
Fixes #10661

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-07 00:40:24 -07:00
Alex Waygood
fecb84eb05 Update asyncio.tasks for py312 (#10669)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-09-06 12:35:48 +01:00
Alex Waygood
433204fb8f py312: Fix stubtest nits in typing/typing_extensions (#10659) 2023-09-04 15:39:11 +01:00
Nikita Sobolev
d868dad76b Update importlib.metadata to 3.12 (#10654) 2023-09-03 09:47:19 +01:00
Nikita Sobolev
d13d9859f6 Update zipfile to 3.12 (#10647)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-02 16:01:41 +01:00
Nikita Sobolev
f0ba5ba2a2 Update unittest.mock to 3.12 (#10650)
And harmonise some annotations between the stdlib `unittest.mock` module and the third-party `mock` backport package.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-02 15:03:39 +01:00
Nikita Sobolev
454438e4db Update importlib.resources to 3.12 (#10649) 2023-09-02 00:03:08 -07:00
Jun Komoda
4009efa349 _CField as a generic descriptor protocol (#10595) 2023-09-01 16:23:33 +02:00
Nikita Sobolev
e04c440571 Update pathlib to 3.12 (#10646) 2023-09-01 14:53:58 +02:00
Alex Waygood
75da5de5c2 Many importlib removals in py312 (#10644) 2023-09-01 13:43:36 +02:00
Edgar Handal
374317a242 sqlite3: add Connection arg to cursorClass (#10645) 2023-09-01 13:40:50 +02:00
Nikita Sobolev
f28cb8b856 Update os.DirEntry to 3.12 (#10643) 2023-08-31 14:29:21 +01:00
Nikita Sobolev
8a2019aa7f Add isjunction and splitroot functions (#10642) 2023-08-31 13:14:22 +01:00
Alex Waygood
4ae6d38f96 Use latest Python for stubtest in CI (#10641) 2023-08-30 18:50:11 +02:00
Nikita Sobolev
6c2c164de2 unittest: py312 updates for load_tests and loadTestsFromModule (#10640) 2023-08-30 12:27:40 +01:00
Nikita Sobolev
c9583d9f14 Add durations to unittest in 3.12 (#10636) 2023-08-30 11:35:25 +01:00
Nikita Sobolev
8888ac0d6d Update configparser to 3.12 (#10635) 2023-08-30 11:07:50 +02:00
Nikita Sobolev
95974369af Update gzip for py312 (#10634) 2023-08-30 08:29:53 +01:00
Kyle Altendorf
28d3ce2951 asyncio.wait() no longer allows awaitables in 3.11 (#10626)
https://docs.python.org/3.10/library/asyncio-task.html#asyncio.wait
> Run awaitable objects in the aws iterable concurrently and block until the condition specified by `return_when`.

https://docs.python.org/3.11/library/asyncio-task.html#asyncio.wait
> Run Future and Task instances in the aws iterable concurrently and block until the condition specified by `return_when`.
2023-08-29 10:56:44 +01:00
Joseph Courtney
2cd8f26e66 Add _loop, _tasks, and _on_task_done to the stub for asyncio.TaskGroup (#10612) 2023-08-28 16:02:40 +01:00
Nikita Sobolev
03e65e1f1a Update genericpath to 3.12 (#10623) 2023-08-28 11:19:09 +02:00
Nikita Sobolev
2c1db00761 Consistently use Generic as the last base class (#10610) 2023-08-28 10:16:54 +02:00
Dave Halter
40c639fcb0 The name param in asyncio.Task.__init__ is optional (#10615) 2023-08-25 13:42:53 -07:00
CoolCat467
607cee5914 SSL wrap_socket and wrap_bio accept bytes as well (#10590) 2023-08-16 11:23:24 +01:00
Sebastian Rittau
31ae7b13c7 Add _typeshed.sentinel (#10582) 2023-08-16 11:31:05 +02:00
gotyaoi
1afae4e7f0 Changes waitid to return waitid_result | None (#10589)
Fixes #10564
2023-08-16 08:27:20 +01:00
Alex Waygood
74aac1aa89 Don't pretend EnumMeta inherits from ABCMeta (#10577) 2023-08-14 21:59:53 +01:00
Alex Waygood
df08fcec5f Improve __(r)or__ signatures for TypedDict classes (#10565) 2023-08-12 18:27:35 +01:00
Nikita Sobolev
1ad381d713 Update sre_parse to 3.12 (#10556) 2023-08-10 12:48:12 +01:00
Nikita Sobolev
19ed22ea60 Update turtle to 3.12 (#10548) 2023-08-10 11:44:14 +01:00
Nikita Sobolev
9d0ed1571f Update ssl to 3.12 (#10547) 2023-08-09 09:18:33 +02:00
Nikita Sobolev
4990da6c60 Update asyncio.base_events for py312 (#10543) 2023-08-08 15:28:36 +01:00
Nikita Sobolev
a5783555e8 asyncio.streams: py312 updates (#10542) 2023-08-08 08:33:37 +01:00
Alex Waygood
230a8f7c6c Fix stubtest for Python 3.12.0rc1 (#10541) 2023-08-07 12:41:31 -07:00
kasium
ab22048661 py312: Filter(er) might return a LogRecord (#10540)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-07 15:30:33 +01:00
Nikita Sobolev
161dd4b34f Update logging for 3.12 (#10538) 2023-08-07 12:02:44 +01:00
Nikita Sobolev
3968308e74 Update asyncio.constants module for python3.12 (#10535) 2023-08-06 15:30:55 +01:00
Nikita Sobolev
86218a52b7 Add get_context methods to asyncio in 3.12 (#10534) 2023-08-06 12:02:48 +01:00
Shane Smiskol
5e2fe131fa Add missing TCP_USER_TIMEOUT to socket module (#10530) 2023-08-04 21:11:14 +01:00
Nikita Sobolev
81d1362247 Fix asyncio.Task.__init__ signature (#10532) 2023-08-04 15:12:51 +02:00
Shantanu
75c71f324e importlib.metadata: add PathDistribution._path (#10528) 2023-08-01 19:43:51 -07:00
Diogo
852882b8bf nargs could be None in argparse.ArgumentParser.add_argument (#10509) 2023-07-26 18:46:40 +01:00
Eugene Toder
e86c61da86 More precise overloads for get/pop methods (#10501)
Fixes #10293

Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-07-26 16:37:32 +01:00
Sam Bull
b325815f44 Fix type of Future._exception (#10502) 2023-07-24 14:49:13 -07:00