Commit Graph

5580 Commits

Author SHA1 Message Date
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
Sebastian Rittau
073b270e55 Update issues numbers for builtins.function (#12580) 2024-08-22 19:20:28 +02:00
Avasam
98af3eb9da Add unittest.runner._WritelnDecorator (#12407) 2024-08-22 09:50:31 +02:00
Sebastian Rittau
7865a78de1 socketserver: Use BufferedIOBase instead of BinaryIO (#12568) 2024-08-21 19:25:06 -07: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
7f38b116a0 Remove redundant overloads from IO (#12570) 2024-08-21 15:55:22 +02:00
Kevin Van Brunt
86e74163b9 Fix DatagramRequestHandler.packet type hint. (#12563) 2024-08-21 12:53:49 +02:00
Avasam
937270df0c Forbid extremely long line lengths in non-autogenerated stubs (#12537)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-08-18 16:03:34 -04:00
Peter Bierma
eb8e9ddd91 Add stubs for operator.is_none and operator.is_not_none (#12535)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-08-18 00:09:54 +03: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
Max Muoto
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
Avasam
45627d18dd Update incorrect or incomplete constants in distutils (#12536) 2024-08-17 20:51:42 +02:00
Andrej
f4d099dd77 fix missing 'at' attribute in zipfile.Path (#12533) 2024-08-16 16:29:27 +02:00
Sebastian Rittau
5403e4aaeb Ignore incompatible changes introduced in Python 3.12.5 (#12531) 2024-08-15 22:31:58 +02:00
Max Davidson
311f740889 more precise timezone-aware deprecation message (#12528) 2024-08-15 16:32:45 +02:00
Marti Raudsepp
1ace5718de Fix inferred type of is_dataclass(Any) (#12517) 2024-08-14 23:09:11 +02:00
Sam Bull
c03f07abfb Add urllib.request.getproxies_environment() (#12524) 2024-08-13 14:13:03 -07:00
Alyssa Coghlan
bed832da8a Allow float for TarInfo.mtime (#12521) 2024-08-13 10:57:21 +02:00
Avasam
a919d8dfe3 distutils & setuptools: all possible dynamic command method overloads (#12507) 2024-08-12 13:42:09 +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
Max Muoto
b406ba9315 Add _recreate_cm to ContextDecorator and AsyncContextDecorator (#12479) 2024-08-10 16:00:52 -07:00
Avasam
9cdedcc130 Add __all__ to distutils.command (#12508) 2024-08-11 00:10:41 +03:00
Akuli
c04a752e24 Create overloads for tkinter.Text.count (#12395) 2024-08-11 00:08:24 +03:00
Max Muoto
044ad59988 Update email/utils for 3.14 (#12491) 2024-08-10 23:57:32 +03:00
Max Muoto
f3b1ee9604 Update argparse.BooleanOptionalAction for 3.14 (#12489)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-08-10 23:53:05 +03:00
Peter Bierma
ae15dd3158 Restore the deprecated logging.warn() in 3.13 (#12509) 2024-08-10 23:52:20 +03:00
Max Muoto
815d8bfb7b ast removals for 3.14 (#12488) 2024-08-10 23:51:19 +03:00
Max Muoto
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
Gilbert Bishop-White
67db06b3a1 tkinter: add suggested Listbox selectmodes (#12499) 2024-08-09 23:40:44 +03:00
sobolevn
519166ba23 Update pyright to 1.1.375 (#12503) 2024-08-09 19:19:19 +02:00
Oleg Höfling
e9b3b03764 refactor(pathlib): allow PathLike[str] arg type in Path.replace and Path.rename methods (#12494) 2024-08-07 15:43:13 +02: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
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
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