Xuehai Pan
aa15fafc33
stdlib: builtins.type.__base__ can be None ( #11040 )
2023-11-18 14:03:56 +00:00
Nikita Sobolev
62ccb32b22
Mark deprecated methods as deprecated in wave module ( #11001 )
2023-11-17 07:31:00 -08:00
Sebastian Rittau
ca8ad657d3
[jsonschema] Bump to 4.20.* ( #11036 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-11-17 12:40:08 +00:00
Alex Waygood
4982061ab3
Make itertools.groupby covariant ( #11032 )
2023-11-17 12:33:14 +01:00
Alex Waygood
4aae235cef
Add the nth_combination itertools recipe as a test case ( #11031 )
2023-11-15 20:14:21 +01:00
Alex Waygood
ac88fdfdbf
Bump various test dependencies ( #11030 )
2023-11-15 15:39:45 +00:00
Alex Waygood
968e2be4d6
Add several itertools recipes to the test_cases directory ( #10992 )
2023-11-15 16:29:48 +01:00
kasium
6afb72fd4a
Improve hdbcli types ( #10969 )
2023-11-15 15:12:45 +01:00
Matthias Schoettle
dc4594a6e7
[fpdf2] add compatibility with fpdf2 2.7.6 ( #10932 )
2023-11-15 15:11:59 +01:00
Oleh Prypin
d1925f2bb6
Various improvements to Markdown stubs ( #10972 )
2023-11-15 14:06:24 +01:00
Avasam
e109588be0
Complete seaborn stubs and mark as strict ( #10974 )
2023-11-15 12:58:27 +01:00
Anders Kaseorg
643d911f4f
markdown: Accept legacy Pattern in inlinePatterns registry ( #11027 )
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2023-11-14 18:18:09 +00:00
Anders Kaseorg
aabeacfdbd
psycopg2: Accept Composable for cursor.mogrify ( #11028 )
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2023-11-14 06:16:03 -08:00
Jens Tröger
590f89b594
logging: Add a _FilterProtocol type to Filterer.addFilter() filter argument. ( #11018 )
2023-11-14 11:14:19 +02:00
github-actions[bot]
c88e099e80
[stubsabot] Mark tree-sitter as obsolete since 0.20.3 ( #10681 )
2023-11-14 09:09:48 +01:00
Avasam
7754c63f14
Bump PyScreeze to 0.1.30 ( #11025 )
2023-11-13 10:37:36 +00:00
Avasam
df623b85d8
Bump pyinstaller to 6.2.* ( #11023 )
2023-11-12 22:46:10 +00:00
Avasam
1582e4833a
Update PyInstaller.building.api.EXE.__init__ ( #11024 )
2023-11-12 18:59:34 +00:00
Serious-senpai
676446569d
Provide more precise type hints for itertools.permutations ( #11019 )
2023-11-11 14:23:11 +00:00
Alex Waygood
571cc6d77a
Pin PyScreeze more tightly ( #11017 )
...
To stop the "stubtest failed" bot opening a new issue every night until we have a chance to look at the stubtest failures (stubsabot will just open a PR instead)
Closes #11016
2023-11-11 00:44:49 +00:00
Alex Waygood
eebc28740e
Revert "Use Callable[..., Any] instead of Callable[..., object] in unittest" ( #8779 )
2023-11-10 19:53:33 +01:00
Akuli
cad0c04ec0
tkinter: Require passing in a callback function to .after() ( #11013 )
2023-11-10 20:18:25 +02:00
Rob Percival
cc0b41a994
Fix type hints for unittest.util.unorderable_list_difference() ( #11012 )
...
Fix type hints for unorderable_list_difference()
It claimed that the arguments were `Sequence` types (immutable), but the function removes elements from them, so they must be `MutableSequence` types. Specifically, it calls `pop()` on the first argument and `remove()` on the second argument.
See the function implementation for details:
0b06d2482d/Lib/unittest/util.py (L98-L113)
2023-11-10 17:53:03 +00:00
Akuli
99563a2e6e
Use @deprecated in tkinter.Variable tracing methods ( #11011 )
2023-11-10 19:38:20 +02:00
Alex Waygood
3f887d5852
Bump mypy to 1.7.0 ( #11010 )
2023-11-10 15:13:42 +00:00
Jelle Zijlstra
0c7bdffa90
third-party: make some protocol params pos-only ( #11006 )
2023-11-10 07:40:10 +01:00
Jelle Zijlstra
4deef7550f
stdlib: Fix more signatures with unrepresentable defaults ( #11007 )
2023-11-09 18:20:09 -08:00
Avasam
b8932899ea
Complete Flask-Migrate and mark as Strict ( #10971 )
2023-11-09 17:48:57 +01:00
Jelle Zijlstra
d9311f946e
stdlib: fix signatures for some functions with unrepresentable defaults ( #11000 )
...
Found with python/mypy#16433
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-11-09 08:14:36 -08:00
PokkaKiyo
7f9b3ea6c3
Support for pexpect.spawn(..., logfile=sys.stdout) ( #10976 )
2023-11-09 10:42:29 +01:00
Jonathan Slenders
7ef466e88d
Add types for pygments.lex. ( #10998 )
2023-11-09 10:40:24 +01:00
Jakob Stadler
d6403b14aa
stdlib: Fix os.startfile ( #10996 )
...
Fixes #10991
2023-11-08 15:44:14 -08:00
Jelle Zijlstra
17f8a82376
ast: mark ast.Num etc. as deprecated ( #10994 )
2023-11-08 19:40:22 +01:00
Alex Waygood
516f665505
Bump flake8-pyi to 23.11.0 ( #10997 )
2023-11-08 16:01:24 +00:00
Jelle Zijlstra
b36f3c5229
asyncio: remove overly specific protocols ( #10984 )
...
The _warn parameter to these methods is just there to work around
some finalization issues and should never be used by users. In
addition, these protocols are out of date (the "stacklevel" argument
is not used by current CPython main). I don't think we gain anything
by trying to maintain these protocol definitions.
2023-11-07 19:26:25 -08:00
github-actions[bot]
4020d25686
[stubsabot] Bump braintree to 4.24.* ( #10993 )
...
Release: https://pypi.org/pypi/braintree/4.24.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
Repository: https://github.com/braintree/braintree_python
Diff: https://github.com/braintree/braintree_python/compare/4.23.0...4.24.0
Stubsabot analysis of the diff between the two releases:
- 4 public Python files have been added: `braintree/meta_checkout_card.py`, `braintree/meta_checkout_token.py`, `tests/unit/test_meta_checkout_card.py`, `tests/unit/test_meta_checkout_token.py`.
- 0 files included in typeshed's stubs have been deleted.
- 7 files included in typeshed's stubs have been modified or renamed: `braintree/payment_instrument_type.py`, `braintree/payment_method.py`, `braintree/transaction.py`, `braintree/us_bank_account_verification.py`, `braintree/version.py`, `braintree/webhook_notification.py`, `braintree/webhook_testing_gateway.py`.
- Total lines of Python code added: 738.
- Total lines of Python code deleted: 49.
2023-11-08 00:16:51 +00:00
Thomas M Kehrenberg
359d4c095d
Fix return type of dbm.whichdb ( #10989 )
...
It is `None` if the given file doesn't exist or isn't a database.
2023-11-07 12:49:39 +01:00
Nikita Sobolev
3f54f7e3de
Bump ruff ( #10988 )
2023-11-07 10:48:08 +00:00
Alex Lowe
820be9bfe9
Add pyxdg stubs ( #10163 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-11-06 16:57:09 -08:00
Jelle Zijlstra
3229b36644
stdlib: More pos-only parameters to Protocols ( #10987 )
2023-11-06 23:45:12 +01:00
Jelle Zijlstra
5030b7419b
stdlib: Use pos-only parameters for many Protocols ( #10985 )
2023-11-06 18:09:04 +01:00
Sebastian Rittau
a5c1a4cd3f
Introduce _typeshed.SupportsFlush ( #10983 )
2023-11-06 15:31:02 +01:00
Sebastian Rittau
6c5d1d3ae8
[seaborn] Add upstream_repository field ( #10982 )
2023-11-06 13:44:22 +00:00
Andrey Rakhmatullin
7b18a0be91
Fix type hint for xml.sax.saxutils.XMLGenerator.__init__(). ( #10979 )
...
The `out` parameter accepts objects with `write(__o: bytes)`, not `write(__o: str)` methods.
2023-11-06 14:31:50 +01:00
Alex Waygood
8023ba764a
Remove redundant inheritances from Generic and various typing protocols ( #10981 )
2023-11-06 14:00:25 +01:00
Tin Tvrtković
c8073493fc
http.HTTPConnection.putheader tweak ( #10978 )
2023-11-05 15:38:41 -08:00
github-actions[bot]
1c51689b26
[stubsabot] Bump flake8-builtins to 2.2.* ( #10975 )
...
Release: https://pypi.org/pypi/flake8-builtins/2.2.0
Homepage: https://github.com/gforcada/flake8-builtins
Repository: https://github.com/gforcada/flake8-builtins
Changelog: https://github.com/gforcada/flake8-builtins/blob/main/CHANGES.rst
Diff: https://github.com/gforcada/flake8-builtins/compare/2.1.0...2.2.0
Stubsabot analysis of the diff between the two releases:
- 0 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: `flake8_builtins.py`.
- Total lines of Python code added: 34.
- Total lines of Python code deleted: 86.
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 <>
2023-11-03 17:43:55 -07:00
Avasam
3a56e0034c
xml.etree: Fix tag param in __init__ ( #10968 )
2023-11-03 14:50:49 +01:00
Oleh Prypin
19650767da
Various improvements to Markdown stubs ( #10963 )
2023-11-02 18:24:17 +01:00
SEONGROK KIM
5122e84f49
Add retry_on_error params for redis stub ( #10961 )
2023-11-02 17:20:20 +00:00