Commit Graph

5818 Commits

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