Commit Graph

111 Commits

Author SHA1 Message Date
Sebastian Rittau
e4c84dfb11 Make email.policy classes generic (#12724) 2024-10-02 16:42:07 +02:00
Stephen Morton
4f37d8fff8 add _ssl module (#11155)
Really all I needed for fixing the inheritance was _ssl._SSLContext.
But then I needed all the other stuff in _ssl, and if I was doing that
I wanted to do a thorough job of it.

Motivation was originally related to https://github.com/python/typeshed/issues/3968 ,
but we're well beyond that now, really.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-10-01 20:10:51 -07:00
Stephen Morton
c43894568f resort weakref classes (#11165)
This improves fidelity of naming and inheritance on 3.11+

related to https://github.com/python/typeshed/issues/3968 and https://github.com/python/typeshed/issues/11141

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-10-01 19:50:10 -07:00
Akuli
13a74a5211 Update tkinter.Text.count() for Python 3.13 (Akuli's version) (#12629) 2024-09-24 23:08:11 -07: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
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
Sebastian Rittau
a29d6710a5 Move platform-specific allowlist entries (#12644) 2024-09-12 11:04:07 +02:00
Sebastian Rittau
c7c430857e stdlib updates for latest Python patch releases (#12638) 2024-09-11 17:58:24 +02:00
Max Muoto
089953ed84 Fix doctest for 3.13 (#12625) 2024-09-08 12:38:13 +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
Sebastian Rittau
039c6bcdb1 Use Self for email.message attachments (#12530)
---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-08-29 10:48:32 -04:00
Avasam
3719f02dbf Using precise code for pyright: ignore and re-enabling various pyright tests (#12576) 2024-08-22 03:34:52 +02:00
Sebastian Rittau
5403e4aaeb Ignore incompatible changes introduced in Python 3.12.5 (#12531) 2024-08-15 22:31:58 +02:00
Marti Raudsepp
1ace5718de Fix inferred type of is_dataclass(Any) (#12517) 2024-08-14 23:09:11 +02:00
Max Muoto
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
Akuli
c04a752e24 Create overloads for tkinter.Text.count (#12395) 2024-08-11 00:08:24 +03:00
Peter Bierma
ae15dd3158 Restore the deprecated logging.warn() in 3.13 (#12509) 2024-08-10 23:52:20 +03:00
Max Muoto
3c7ffb1cc3 Update dircmp for 3.13 (#12337) 2024-08-05 13:31:12 -07:00
sobolevn
6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
Max Muoto
0fd6cd211f Resolve 3.13 issues for ctypes._endian (#12372) 2024-08-03 16:04:54 -07:00
sobolevn
1a8c7ebe37 HAVE_NCURSESW is present on macos (#12441) 2024-07-27 10:36:08 +02:00
Max Muoto
5cd89123e2 Add missing fcntl constants. (#12409) 2024-07-25 11:23:28 +02: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
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 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
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
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