Marcell Perger
5eb040b1e6
Fix tkinter.ttk's compound argument ( #11393 )
...
Allow the empty string (`""`).
2024-02-10 20:55:08 +02:00
Marcell Perger
187928d8ce
Add defaults for tkinter __init__ methods ( #11391 )
...
Add defaults for `tkinter`'s `__init__` methods, see #10947
Some notes about specific arguments:
- `variable` and `textvariable`: The default value (using `dict`) is consistently `""` but this doesn't match the annotated `Variable` type so I didn't fill these in
- `Message(padx, pady)`: The default value is `-1` which is not allowed according to the documentation so I didn't fill this in
- `Toplevel(use)`: The default value is always `""` but this doesn't match the annotated `int` type so I didn't fill this in
2024-02-10 20:51:27 +02:00
Neil Girdhar
9d90eeb296
Fix networkx stub; location of subgraph_view, etc. ( #11385 )
2024-02-09 13:01:53 +01:00
Alex Waygood
15cdc20744
Fix stdlib stubtest for Python 3.11.8 and 3.12.2 ( #11384 )
...
Fix stubtest for Python 3.11.8 and 3.12.2
2024-02-09 02:28:03 -08:00
github-actions[bot]
4eeb0e62bb
[stubsabot] Bump flake8-bugbear to 24.2.6 ( #11379 )
2024-02-08 08:33:31 +01:00
Ran Benita
a4f81a67a0
sys: add last_exc on Python>=3.12 ( #11378 )
...
https://docs.python.org/3/library/sys.html#sys.last_exc
2024-02-07 20:37:48 +00:00
M Bussonnier
edf41ae5e2
Update type of Formatter.convert_field (missing |None) ( #11377 )
...
From the source it expects that the second parameter (conversion), can
be None:
```python
def convert_field(self, value, conversion):
# do any conversion on the resulting object
if conversion is None:
return value
...
```
Since at least 17 years according to git blame, as None is refered as
early as 11529195cae2438a3ac003babcb1b11af67c4037
And still present in main branch:
ef3ceab09d/Lib/string.py
2024-02-07 19:24:21 +00:00
Alex Waygood
994d22bfbb
Pin peewee more tightly for stubtest ( #11372 )
...
Fixes #11367
2024-02-06 18:12:52 +00:00
Tapple Gao
dfd954c79c
Bump pexpect to 4.9 ( #11287 )
2024-02-05 22:54:48 -08:00
Akuli
e6e2f22e6c
Annotate tkinter.Canvas.type() ( #11366 )
2024-02-06 07:31:59 +01:00
Alex Waygood
ed38e99138
influx-db: fix flake8 ( #11365 )
2024-02-05 18:40:17 +00:00
Avasam
489e8309b5
Type obj parameter of PIL.Image.fromarray ( #11176 )
2024-02-05 05:42:52 -08:00
Takumasa N
f11eb92bf4
subprocess: Use _CMD instead of str | bytes in getstatusoutput and getoutput (#11354 )
2024-02-05 05:36:55 -08:00
Hoël Bagard
684f541357
tensorflow: Add tensorflow.keras.callbacks module (#11332 )
2024-02-05 05:19:04 -08:00
Sebastian Rittau
00ec3fe4d8
Bump influxdb-client to 1.39.* ( #11116 )
...
Type a few task-related items
2024-02-05 05:10:18 -08:00
Marcell Perger
2c29505765
Fix tkinter overrelief argument ( #11360 )
2024-02-05 14:40:22 +02:00
Alex Waygood
a2a6aee892
Fix annotation for ast.alias.name ( #11364 )
...
This isn't necessarily always an identifier:
```pycon
>>> print(ast.dump(ast.parse('from typing import *'), indent=2))
Module(
body=[
ImportFrom(
module='typing',
names=[
alias(name='*')],
level=0)],
type_ignores=[])
>>> '*'.isidentifier()
False
```
2024-02-05 01:42:20 +00:00
Hoël Bagard
3600c805eb
tensorflow fix tensorflow.data.Dataset's zip (#11357 )
2024-02-04 17:23:04 -08:00
Alex Waygood
bf58d62e74
Update test dependencies ( #11361 )
2024-02-05 00:53:21 +00:00
Alex Waygood
c49c84f319
A new shade of Black ( #11362 )
2024-02-04 16:38:55 -08:00
Hoël Bagard
7a6a749449
tensorflow: bump version to 2.15 (#11352 )
2024-02-03 07:28:25 -08:00
github-actions[bot]
5ce34dc096
[stubsabot] Bump pytz to 2024.1 ( #11355 )
2024-02-03 02:22:13 +01:00
Alex Waygood
4d8ee113fb
Add more return types to the numbers module ( #11353 )
2024-02-01 18:12:41 +00:00
Hoël Bagard
587e75ff88
tensorflow: add tf.train.CheckpointOptions and other tf.train members. (#11327 )
2024-02-01 07:33:13 -08:00
Nikita Sobolev
547cbc748f
Remove pluggy stubs ( #11351 )
2024-01-31 13:30:20 -08:00
Hoël Bagard
284afde9cc
tensorflow: Add some functions from the config module (#11325 )
2024-01-31 07:59:45 -08:00
Avasam
faf9d77d79
Bump networkx to 3.2.1 ( #11336 )
2024-01-31 07:30:20 +01:00
Stephen Morton
9877ed8092
Various ctypes improvements ( #11186 )
...
Mostly more attention paid to which classes are actually the same class
2024-01-30 22:18:00 -08:00
Mike Zimin
8010e9fef0
issue-11282: psycopg2 ReplicationConnection.cursor() return type ( #11298 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-01-30 20:25:12 -08:00
Christoph Tyralla
1ce82b8d3e
Generalise attribute __func__ of class MethodType from FunctionType to Callable ( #11201 )
...
Let property `__func__` of class `MethodType` return `Callable[..., Any]` instead of `_StaticFunctionType` and remove the latter.
Co-authored-by: Tyralla <tyralla@bce01.de >
2024-01-30 20:22:52 -08:00
github-actions[bot]
1b5ef134c0
[stubsabot] Bump tree-sitter-languages to 1.10.* ( #11228 )
...
Release: https://pypi.org/pypi/tree-sitter-languages/1.10.0
Homepage: https://github.com/grantjenks/py-tree-sitter-languages
Repository: https://github.com/grantjenks/py-tree-sitter-languages
Diff: https://github.com/grantjenks/py-tree-sitter-languages/compare/v1.8.0...v1.10.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: `tree_sitter_languages/__init__.py`.
- Total lines of Python code added: 1.
- Total lines of Python code deleted: 1.
2024-01-30 20:21:46 -08:00
Hoël Bagard
67df2df466
tensorflow: Add (and rename) aliases (#11324 )
2024-01-30 20:15:15 -08:00
github-actions[bot]
638a55d5dd
[stubsabot] Bump flake8-bugbear to 24.1.17 ( #11278 )
...
Release: https://pypi.org/pypi/flake8-bugbear/24.1.17
Homepage: https://github.com/PyCQA/flake8-bugbear
Repository: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/23.12.2...24.1.17
Stubsabot analysis of the diff between the two releases:
- 3 public Python files have been added: `tests/b036.py`, `tests/b037.py`, `tests/b038.py`.
- 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: 410.
- Total lines of Python code deleted: 35.
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-01-30 20:15:04 -08:00
Shantanu
21f84d09c3
concurrent.futures: allow as_completed to act covariantly ( #11291 )
2024-01-30 20:14:29 -08:00
Hoël Bagard
98ba275d5e
tensorflow: add some tensorflow functions (#11326 )
2024-01-30 19:57:25 -08:00
Hoël Bagard
68ae493297
tensorflow: add tensorflow.math.reduce_variance (#11328 )
2024-01-30 19:55:24 -08:00
Philipp A
8018337109
[docutils] Add remaining node classes and functions ( #11255 )
...
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-01-30 19:14:05 -08:00
Hoël Bagard
0f524217d6
tensorflow: fix tensorflow.VariableSynchronization (#11330 )
2024-01-30 10:46:59 -08:00
Alex Waygood
c50a641fc8
regr_test.py: Run mypy with --no-incremental ( #11346 )
2024-01-30 08:59:20 -08:00
Frédéric Perrin
edd99220dc
Add stubs for RPi.GPIO ( #11345 )
2024-01-30 15:17:22 +01:00
Sebastian Rittau
8e872a022c
numbers: Remove Any annotations ( #11347 )
2024-01-30 15:17:06 +01:00
Shantanu
9d445b0eef
Move resource.struct_rusage import ( #11343 )
2024-01-30 00:52:05 -08:00
github-actions[bot]
3881b1b81a
[stubsabot] Bump pytz to 2023.4 ( #11341 )
2024-01-30 02:10:53 +01:00
dependabot[bot]
ba5098c462
Bump aiohttp from 3.9.1 to 3.9.2 ( #11342 )
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.1...v3.9.2 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 01:04:29 +00:00
Sebastian Rittau
3dbb2573e6
Remove flake8-plugin-utils ( #11339 )
...
Closes : #6913
2024-01-29 13:47:15 +00:00
Sebastian Rittau
ed97b42ee2
[pyOpenSSL] Update to 24.0.* ( #11338 )
2024-01-29 14:09:40 +01:00
Avasam
81070c4dbc
posixpath.commonpath supports Iterable parameter (#11310 )
2024-01-29 13:13:34 +01:00
github-actions[bot]
a661dcc6b4
[stubsabot] Bump seaborn to 0.13.2 ( #11317 )
2024-01-29 13:07:02 +01:00
Avasam
5785712eff
pywin32: Remove reference to stubgen dll analysis issue ( #11323 )
2024-01-29 12:06:56 +01:00
Anders Kaseorg
fd89040900
markdown: Restore wrongly deleted DoubleTagPattern ( #11335 )
2024-01-28 19:12:16 -05:00