Commit Graph

5486 Commits

Author SHA1 Message Date
Peter Bierma
1a83727723 Add signature for pathlib.Path.rmtree() (#12474) 2024-08-02 09:14:08 -07:00
Peter Bierma
daefde073d Reflect deprecation for symtable.Class.get_methods() (#12468)
Reflect deprecation for get_methods()
2024-07-31 22:31:47 -07:00
Adam Turner
b6a142d6f5 Update OptionParser.{error,exit} to be NoReturn (#12464) 2024-07-31 13:20:56 +02:00
Max Muoto
ea14235f74 Use Final for zipfile constants (#12446) 2024-07-28 12:03:57 +02:00
Max Muoto
b40eb642e0 Use Final for unittest constants (#12447) 2024-07-28 12:03:02 +02:00
Max Muoto
0ffa2c5597 Use Final for sqlite constants (#12448) 2024-07-28 12:02:29 +02:00
Max Muoto
9a77f6006d Use Final for undocumented constants (#12450) 2024-07-28 12:02:06 +02:00
Max Muoto
1f4d0a815f Use Final for lib2to3 (#12451) 2024-07-28 11:59:32 +02:00
Max Muoto
a0b8790f6b Use Final for multiprocessing constants (#12452) 2024-07-28 11:59:00 +02:00
Max Muoto
8ac4af63cd Final for logging constants (#12453) 2024-07-28 11:58:30 +02:00
Max Muoto
3db7f01a31 Use Final for decimal constants (#12449) 2024-07-27 12:01:32 -07:00
Peter Bierma
d2ccc9a723 Fix return type annotation for asyncio.Task.get_coro() (#12445) 2024-07-27 10:00:45 -07:00
sobolevn
1a8c7ebe37 HAVE_NCURSESW is present on macos (#12441) 2024-07-27 10:36:08 +02:00
Ashley Sommer
5ade7d97c8 _WrappedBuffer protocol isatty() returns bool (#12438)
Fixed new _WrappedBuffer protocol methid `isatty()` correctly returns `bool`
2024-07-26 23:32:54 -07:00
Avasam
ac8720b99d Setuptools stubs update from merging upstream (#12400) 2024-07-25 16:46:22 +02:00
Sebastian Rittau
ddb9163e7d Update pyright to 1.1.372 (#12427) 2024-07-25 14:32:11 +02:00
Avasam
2aeb777cde Replace bare Any in setuptools (#12406) 2024-07-25 13:38:07 +02:00
Max Muoto
5cd89123e2 Add missing fcntl constants. (#12409) 2024-07-25 11:23:28 +02:00
Avasam
0b1d35829b setuptools & distutils: ClassVar mutables (and tuples) (#12403) 2024-07-23 14:17:02 +02:00
Avasam
ef42f3b765 distutils: Type execute using TypeVarTuple (#12405) 2024-07-23 13:16:14 +01:00
Shantanu
93211a8b5f Update allowlist for 3.13b4 (#12413) 2024-07-23 00:57:53 -07:00
Max Muoto
ee526b14a4 Resolve Traversable.open failure for 3.13 beta 4 (#12412) 2024-07-23 00:29:05 -07:00
Max Muoto
e5bab16884 Update interpchannels for 3.13 beta 4 (#12411) 2024-07-23 00:28:26 -07:00
Max Muoto
2909053047 Add copy.replace for 3.13 (#12262) 2024-07-22 18:34:34 -07:00
Tomas R
964d1d73ae Add BaseException.__new__ (#12346) 2024-07-21 13:16:10 +02:00
Max Muoto
b20dd41bec Add MAP_NORESERVE for Linux (#12385) 2024-07-20 21:38:30 -07:00
Max Muoto
b6c089d756 Remove webbrowser.MacOSX for Python 3.13 (#12390) 2024-07-20 21:37:51 -07:00
Max Muoto
e82f130693 Fix _stat for 3.13 (#12383) 2024-07-20 21:25:55 -07:00
Max Muoto
ab55971e5f Add os.waitid and os.waitid_result for osx (#12391) 2024-07-20 21:19:36 -07:00
Max Muoto
60303f6f06 Add readline.backend for 3.13 (#12384) 2024-07-20 21:09:23 -07:00
Max Muoto
5eaa400f2b Add POSIX_SPAWN_CLOSEFROM for 3.13 linux (#12386) 2024-07-20 20:59:46 -07:00
Max Muoto
63100c17fe Add fcntl constants for 3.13 (#12389) 2024-07-20 20:59:26 -07:00
Max Muoto
3030f013be Fix syslog 3.13 issues (#12380) 2024-07-20 14:07:00 -07:00
Max Muoto
f54427b660 Add timer notification functions for os/posix, 3.13 (#12378) 2024-07-20 13:39:10 -07:00
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