Commit Graph

5478 Commits

Author SHA1 Message Date
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
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