Commit Graph

9996 Commits

Author SHA1 Message Date
Konstantin Baikov
445858c565 Remove unnecessary pyright supressions (#13287) 2024-12-23 20:27:11 -08:00
Stephen Morton
17408ee538 fix the __init__ of several C-classes (#13211) 2024-12-23 10:55:51 -08:00
Danny Yang
bfb9a91950 Flask-socketio 5.5 + add type of kwargs (#13271) 2024-12-23 07:16:45 -08:00
Ali Hamdan
1de78260d9 optparse: Improve Option typing (#13282) 2024-12-23 07:16:00 -08:00
Stephen Morton
ea91db2380 fix update method of WeakKeyDictionary and WeakValueDictionary (#13249) 2024-12-22 16:53:55 -08:00
Stephen Morton
d8b7ad6e89 fixing up ctypes.memmove and ctypes.memset (#13252) 2024-12-22 16:53:03 -08:00
Stephen Morton
e744b2eb34 move numbers.Number.__hash__ and tarfile.TarFile.errors to don't fix (#13254) 2024-12-22 16:50:06 -08:00
Sebastian Rittau
619e8f3680 [fpdf2] Update to 2.8.2 (#13264) 2024-12-22 16:49:46 -08:00
Ali Hamdan
7c0974c0cd optparse: Precise types for OptionParser.add_option_group (#13277)
Precise types for OptionParser.add_option_group

These `*args` and `**kwargs` are forwarded to the `OptionGroup`
constructor with `title` made positional-only here because of
the `args[0]` check at runtime
2024-12-22 16:21:47 -08:00
Kevin Ji
8ad4f1b275 Add new fields to TracebackException, fix cause/context/lineno types (#13231)
These are derived from the TracebackException docs:
https://docs.python.org/3/library/traceback.html#traceback.TracebackException

and the source code:
8b3cccf3f9/Lib/traceback.py (L989)
2024-12-22 16:20:29 -08:00
Ali Hamdan
82352521bf optparse: improve HelpFormatter annotations (#13278) 2024-12-22 16:18:20 -08:00
Ali Hamdan
db3c2cf69d setuptools: Remove problematic private module compat (#13280) 2024-12-22 20:05:11 +00:00
bzoracler
9497f8aebf Remove value attribute from builtins.StopAsyncIteration (#13275) 2024-12-21 12:24:36 -08:00
Stephen Morton
097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
Stephen Morton
8e31597fa5 add BaseListProxy.__imul__ (#13266) 2024-12-19 16:04:00 -08:00
Konstantin Baikov
e7a9b83ee7 Fix todo in xmlrpc client (#13124) 2024-12-19 15:28:19 -08:00
Konstantin Baikov
d31e3ea11e Fix tqdm.asyncio type inconsistency (#13259) 2024-12-19 10:48:07 +01:00
Stephen Morton
1964076a8e move a couple deliberate omissions to don't fix (#13267) 2024-12-19 01:11:27 +01:00
Brian Schubert
3157273331 Allow any number of trailing font options in tkinter font description (#13240) 2024-12-19 01:39:57 +02:00
Stephen Morton
bd728fbfae use Literal[_MISSING_TYPE.MISSING] for dataclasses.field defaults (#13256) 2024-12-18 19:21:31 +01:00
Sebastian Rittau
c2a33373cf [vobject] Replace typing.Any with _typeshed.Incomplete (#13265) 2024-12-18 18:59:50 +01:00
Sebastian Rittau
9351a842a3 [vobject] Update to 0.9.9 (#13263)
Update repository URL
2024-12-18 18:45:37 +01:00
Bartosz Sławecki
736db39315 Add missing http.client globals and make all of them literal (#13255) 2024-12-18 17:26:46 +01:00
Konstantin Baikov
54e1c6ad58 Use better return type for inspect.waktree and inspect.getclasstree (#13129) 2024-12-16 22:08:10 +03:00
Danny Yang
7cae61f61a Bump ibm-db to 3.2.4 (#13251) 2024-12-14 21:33:51 -08:00
Danny Yang
c55c96235b Bump pycurl to 7.45.4 (#13250) 2024-12-14 21:32:34 -08:00
Stephen Morton
7c7f91233f DevpollSelector is Solaris only (#13242) 2024-12-14 19:53:40 -08:00
Stephen Morton
fc11e83510 move two more allowlist entries to can't fix (#13247) 2024-12-14 06:17:18 -08:00
Stephen Morton
acebd50eee adjusting overload of fractions.Fraction.__new__ (#13241) 2024-12-14 06:13:00 -08:00
Stephen Morton
364fd7d18f a few more allowlist entries moved to don't fix (#13236) 2024-12-13 14:59:47 -08:00
github-actions[bot]
22e0699ac9 [stubsabot] Bump flake8-bugbear to 24.12.12 (#13235)
Release: https://pypi.org/pypi/flake8-bugbear/24.12.12
Homepage: https://github.com/PyCQA/flake8-bugbear
Repository: https://github.com/PyCQA/flake8-bugbear
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/24.10.31...24.12.12

Stubsabot analysis of the diff between the two releases:
 - 9 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `bugbear.py`.
 - Total lines of Python code added: 595.
 - Total lines of Python code deleted: 43.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2024-12-13 08:26:51 +00:00
Stephen Morton
1ec5ccfdac move configparser.SectionProxy allowlist to don't fix section (#13234) 2024-12-12 13:38:21 -08:00
Alex Waygood
bba068c8a1 pin ibm-db to 3.2.3 (#13233) 2024-12-12 01:10:20 +00:00
github-actions[bot]
2666d3b5b0 [stubsabot] Bump hdbcli to 2.23.* (#13228)
Release: https://pypi.org/pypi/hdbcli/2.23.24
Homepage: https://www.sap.com/
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/hdbcli

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2024-12-11 08:25:48 +00:00
Stephen Morton
b0768596d2 correct parameter name for sock_recv of BaseEventLoop subclasses (#13212) 2024-12-09 18:26:34 -08:00
Stephen Morton
4664a1406e move deliberately missing things to the appropriate section (#13203) 2024-12-09 14:16:15 -08:00
Stephen Morton
edee8d3157 add CLONE_NEWTIME to os.__all__ (#13221) 2024-12-08 22:10:41 +00:00
Stephen Morton
dc6b89c793 adjust allowlist for urllib.response.addbase (#13219)
I don't think we need a regex for just two items
2024-12-07 19:54:26 -08:00
Stephen Morton
4aad825db3 fix the weird special builtins (#13213) 2024-12-08 00:18:15 +00:00
Konstantin Baikov
64820aa48d Unpin webcolors in jsonschema (#13215) 2024-12-08 00:12:57 +00:00
Max Muoto
c76b89ab0d Correct exitstatus type (#13216) 2024-12-07 14:53:39 -08:00
Brian Schubert
0e9c9e1362 Change issue text on daily/stubsabot failure to include exact run URL (#13210)
Use current run URL in issue body
2024-12-06 12:19:32 -08:00
Avasam
21c85bae39 Bump protobuf to ~=5.29.1 (#13209) 2024-12-06 17:16:59 +00:00
Kai Brünnler
98f070a8f8 Improve annotation for tabular_data parameter of tabulate.tabulate (#13178) 2024-12-06 11:38:32 +01:00
Kevin Ji
b252fbf08c Add missing exceptions field to TracebackException (#13204) 2024-12-06 11:38:00 +01:00
Stephen Morton
1bf8d501d1 ctypes.CDLL._func_restype_ is a type, not an instance (#13206) 2024-12-06 11:35:58 +01:00
Konstantin Baikov
633a4d73f2 Use union instead of overloads in dateutil (#13184) 2024-12-05 20:17:22 +01:00
Stephen Morton
6b98467337 Add xml.sax.expatreader (#13188) 2024-12-05 20:16:49 +01:00
Konstantin Baikov
7f8990018c Remove python-gflags (#13202) 2024-12-05 19:09:05 +01:00
Stephen Morton
1798badcdd update for the new patch releases (#13196) 2024-12-05 18:24:07 +01:00