Commit Graph
100 Commits
Author SHA1 Message Date
Max Muoto 2e76963775 Fix asyncio executor types (#13616)
Update type annotations for `run_in_executor` and `set_default_executor` in asyncio event loop interfaces to use more specific executor types from `concurrent.futures`
2025-03-11 11:45:28 +01:00
Max Muoto 88e917a87b Fix types in _interpqueues and _interpreters (#13355) 2025-01-02 13:04:23 -08:00
Max Muoto 92231a5728 Update tkinter.Misc for 3.13 (#12367) 2024-12-27 20:59:32 -08:00
Max Muoto c76b89ab0d Correct exitstatus type (#13216) 2024-12-07 14:53:39 -08:00
Max MuotoandAvasam 407eeaa133 Correct types for setuptools.setup (#12791)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-10-13 14:38:31 -07:00
Max Muoto 5fcd375815 Set default for enumerate's start argument (#12796) 2024-10-13 06:01:00 +02:00
Max Muoto 85121de466 Update importlib resources for 3.13 (#12298) 2024-09-16 20:21:35 +02:00
Max Muoto dbe4d32a2a Add fchmod and lchmod for Windows on 3.13 (#12662) 2024-09-15 22:13:09 +02:00
Max Muoto 29c8026910 Add missing winapi functions for 3.13 (#12658) 2024-09-14 12:01:42 +02:00
Max Muoto f190a1f213 Remove ParamSpec for SupportsReplace (#12410) 2024-09-14 11:42:30 +02:00
Max Muoto eaeb56ffcf Add missing winapi constants for 3.13 (#12657) 2024-09-14 11:39:22 +02:00
Max Muoto 9e787769c6 Remove _msi in 3.13 (#12659) 2024-09-14 11:20:49 +02:00
Max Muoto 53d4877071 Move __replace__ issues out of triage (#12656) 2024-09-13 22:39:34 -07:00
Max Muoto df30049ac7 Correct requests cookies argument (#12654) 2024-09-13 18:09:05 +02:00
Max Muoto 089953ed84 Fix doctest for 3.13 (#12625) 2024-09-08 12:38:13 +02:00
Max Muoto 63db21eaa0 Add __replace__ for AST and AST subclasses (#12486) 2024-08-29 17:25:54 +02:00
Max Muoto ad6eed0777 Add _thread.start_joinable_thread and _thread.lock for 3.13 (#12588) 2024-08-29 17:20:02 +02:00
Max Muoto 70e9748f18 Fix _thread.interrupt_main for 3.10+ (#12586) 2024-08-29 17:10:17 +02:00
Max Muoto 82da1e19a7 Use Final in tkinter (#12545) 2024-08-17 22:34:16 +02:00
Max Muoto 9ecd07a669 Use Final for Pre-Defined Hashing Methods in crypt (#12544) 2024-08-17 22:15:05 +02:00
Max Muoto 7b9263a7d2 Use Final in _stat module (#12546) 2024-08-17 22:14:45 +02:00
Max Muoto 6644250819 Use Final in cmd (#12543) 2024-08-17 21:59:49 +02:00
Max Muoto 21f7d012b3 Use Final in json module (#12542) 2024-08-17 21:57:56 +02:00
Max Muoto fe2c401fd5 Use Final in pyexpat module (#12541) 2024-08-17 21:57:27 +02:00
30bbd8640a Final for distutils constants (#12454)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-17 15:49:35 -04:00
Max Muoto 37807d753a Use Generator instead of Iterator for 3rd-party context managers (#12481) 2024-08-12 14:26:18 +02:00
Max MuotoandShantanu dc0b63fd68 Accurate overloads for ZipFile.__init__ (#12119)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-08-11 16:17:06 -07:00
Max Muoto b406ba9315 Add _recreate_cm to ContextDecorator and AsyncContextDecorator (#12479) 2024-08-10 16:00:52 -07:00
Max Muoto 044ad59988 Update email/utils for 3.14 (#12491) 2024-08-10 23:57:32 +03:00
Max MuotoandAkuli f3b1ee9604 Update argparse.BooleanOptionalAction for 3.14 (#12489)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-08-10 23:53:05 +03:00
Max Muoto 815d8bfb7b ast removals for 3.14 (#12488) 2024-08-10 23:51:19 +03:00
Max MuotoandAkuli 033e5d1337 Add pathlib.Path 3.14 methods (#12487)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-08-10 23:47:20 +03:00
Max Muoto 442c7d36af sqlite3 removals for 3.14 (#12492) 2024-08-10 23:10:13 +03:00
Max Muoto 8482914efb Add pty deprecations (#12493) 2024-08-10 23:08:03 +03:00
Max Muoto 8a7f09e351 Byestring removal for 3.14 (#12490) 2024-08-06 07:16:49 -07:00
Max Muoto 3c7ffb1cc3 Update dircmp for 3.13 (#12337) 2024-08-05 13:31:12 -07:00
Max Muoto 7eac47455a Use Final for xml constants (#12455) 2024-08-05 11:13:56 +02:00
Max Muoto 0fd6cd211f Resolve 3.13 issues for ctypes._endian (#12372) 2024-08-03 16:04:54 -07: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
Max Muoto 5cd89123e2 Add missing fcntl constants. (#12409) 2024-07-25 11:23:28 +02: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
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 MuotoandShantanu 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
Max Muoto d56c7bb2e0 Enforce positional arguments for set_threshold in gc (#12350) 2024-07-16 11:29:25 +02:00
Max MuotoandAlex Waygood 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
Max Muoto ac3d422330 Enforce positional args for codec functions (#12343) 2024-07-15 14:03:33 +02:00
Max MuotoandAkuli 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 MuotoandJelle Zijlstra 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
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
Max Muoto 4316e00c9e Make MemoryView Generic, make cast accurate (#12247) 2024-07-11 17:12:44 -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
Max Muoto 08c44b7895 Resolve importlib.metadata 3.13 issues (#12299) 2024-07-11 17:04:55 -07:00
Max Muoto 4ccf78d234 Fix site module 3.13 issues (#12323) 2024-07-11 16:54:12 -07:00
Max Muoto 706a0ff801 Update zipfile for 3.13 (#12321) 2024-07-11 16:50:43 -07:00
Max Muoto e80ca57ba1 DBM updates for 3.13 (#12302) 2024-07-11 17:51:53 +02:00
Max Muoto 64d4949cae Fix dis module issues for 3.13 (#12306) 2024-07-10 17:49:15 +02:00
Max Muoto 9bf9d1571e Fix unittest for 3.13 (#12307) 2024-07-10 10:23:58 +02:00
Max Muoto f698bb67fa Fix threading.pyi issues (#12304) 2024-07-09 22:44:55 -07:00
Max Muoto 465fdaad48 Update pydoc for Python 3.13 (#12305) 2024-07-09 22:44:02 -07:00
Max Muoto 2a68dfc5fb maildir 3.13 changes (#12303) 2024-07-10 00:18:18 +02:00
Max Muoto 4b9eadad77 Resolve 3.13 pdb errors (#12267) 2024-07-09 22:15:37 +02:00
Max Muoto 23fd30f563 Update types.SimpleNamespace for 3.13 (#12297) 2024-07-09 21:22:57 +02:00
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
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
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 MuotoandShantanu 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
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
Max Muoto 6b2033a783 Improve accuracy of dataclasses.Field (#12082) 2024-06-24 11:25:50 +02: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
Max Muoto f2d96aea32 Add missing delete on close arg for aiofiles.NamedTemporaryFile (#12110) 2024-06-22 12:19:27 -07:00