Jelle Zijlstra
a2ee32ba5d
unittest: make protocol parameter positional-only ( #12834 )
2024-10-17 16:55:50 +02:00
bersbersbers
b78b3f10ba
slice is hashable starting with Python 3.12 (#12832 )
2024-10-17 09:17:38 +02:00
Sebastian Rittau
2d0f6d8277
Bundle path handling in ts_utils.paths ( #12805 )
2024-10-17 08:16:10 +02:00
Sebastian Rittau
36fb63ebc8
Support compatible version specifiers ( #12771 )
2024-10-17 08:15:30 +02:00
Stephen Morton
56078f574f
csv.Dialect doesn't actually subclass _csv.Dialect ( #12808 )
...
It does a weird wrapping thing instead:
2a5cdb2516/Lib/csv.py (L114)
2024-10-16 22:12:47 -07:00
Stephen Morton
2412c7cea6
Remove unneeded Iterable base class from asyncio.Future ( #12827 )
2024-10-16 22:11:05 -07:00
github-actions[bot]
1993e251f7
[stubsabot] Bump setuptools to 75.2.* ( #12829 )
...
Release: https://pypi.org/pypi/setuptools/75.2.0
Repository: https://github.com/pypa/setuptools
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v75.1.1...v75.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.
- 2 files included in typeshed's stubs have been modified or renamed: `setuptools/build_meta.py`, `setuptools/dist.py`.
- Total lines of Python code added: 103.
- Total lines of Python code deleted: 41.
2024-10-16 19:58:28 -07:00
Alex Waygood
c9d3ca6f48
Touchups to tests/REGRESSION.md ( #12826 )
2024-10-17 00:43:39 +02:00
Jelle Zijlstra
2370b8b9d1
memoryview: re-add inheritance from Sequence, set index and count to None (#12800 )
...
This reverts commit f625e92ae5 .
2024-10-16 07:27:56 -07:00
renovate[bot]
6feca18868
Update dependency pyright to v1.1.385 ( #12764 )
2024-10-16 12:38:34 +02:00
github-actions[bot]
3187bc5b7e
[stubsabot] Bump peewee to 3.17.7 ( #12820 )
2024-10-16 08:53:55 +02:00
Brian Schubert
ab8e0e1ca1
Fix return type of logging.config.BaseConfigurator.as_tuple ( #12817 )
2024-10-15 19:54:48 +01:00
Stephen Morton
aedf65abe9
remove unneeded AsyncIterator base class from asyncio.StreamReader ( #12815 )
2024-10-15 11:25:40 -07:00
Stephen Morton
816b47c231
remove unneeded Interator base class from sqlite3.Cursor ( #12813 )
2024-10-15 11:25:21 -07:00
Stephen Morton
1fb6ebf62b
Remove redundant inheritances from Iterator ( #12814 )
2024-10-15 19:17:34 +01:00
Stephen Morton
f08d769f7c
remove unneeded Iterable base class from CookieJar ( #12812 )
2024-10-15 19:47:56 +02:00
Stephen Morton
a871efd90c
remove unecessary Iterable base classes ( #12810 )
2024-10-15 00:53:35 +01:00
Stephen Morton
e7e9c13c1c
clean inheritance for OrderedDict related classes ( #12809 )
...
Reversible is protocol-like, plus it subclasses dict which is itself
Reversible on all supported python versions now.
2024-10-14 16:05:04 -07:00
Stephen Morton
7b794ef343
remove unneeded fake base classes from mmap.mmap ( #12807 )
2024-10-14 23:38:35 +01:00
Sebastian Rittau
a2d6d5315b
[stubsabot] Use common functions from ts_utils ( #12772 )
2024-10-14 15:41:28 +02:00
Sebastian Rittau
42f6a21a71
Bump gdb to 15.0.* ( #12804 )
...
Closes : #12777
2024-10-14 05:51:22 -07:00
Sebastian Rittau
ddf9d54dc1
Bump icalendar to 6.0.1 ( #12802 )
2024-10-14 05:50:52 -07:00
Stephen Morton
16bab543a3
make os._wrap_close not inherit from TextIOWrapper ( #12774 )
2024-10-14 11:39:30 +02:00
Avasam
4b5a7b09a4
Bump pywin32 to 308.* ( #12799 )
2024-10-14 10:10:56 +02:00
Thomas Grainger
cf9aa45d69
fix weakref.KeyedRef and weakref.ref constructor type ( #12803 )
2024-10-14 10:07:53 +02:00
Sebastian Rittau
1fa4986f71
Move common utility functions to a common library ( #12773 )
2024-10-14 08:00:02 +02:00
Max Muoto
407eeaa133
Correct types for setuptools.setup ( #12791 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-10-13 14:38:31 -07:00
Brian Schubert
a5174d8150
Set literal default for bz2.BZ2Compressor.__init__ ( #12798 )
2024-10-13 07:54:34 -07:00
Brian Schubert
01036d2a5d
Set literal default arguments for pickle.Pickler.__init__ and pickle.Unpickler.__init__ ( #12797 )
2024-10-13 16:28:16 +02:00
violetc
86e144b6d7
[peewee] Some methods return Self ( #12788 )
2024-10-13 15:38:07 +02:00
Brian Schubert
88a0f58c67
Reuse hashlib._Hash in hmac ( #12793 )
2024-10-13 14:50:11 +02:00
Max Muoto
5fcd375815
Set default for enumerate's start argument ( #12796 )
2024-10-13 06:01:00 +02:00
Avasam
352cfc9773
Add missing 3.13 source kw-only param to code.InteractiveInterpreter.showsyntaxerror ( #12792 )
2024-10-12 21:10:00 +01:00
github-actions[bot]
9f8ee528df
[stubsabot] Bump flake8-typing-imports to 1.16.* ( #12784 )
...
Co-authored-by: stubsabot <>
2024-10-12 20:22:17 +01:00
github-actions[bot]
7ccc587afb
[stubsabot] Mark pygit2 as obsolete since 1.16.0 ( #12785 )
2024-10-12 04:33:56 +02:00
Brian Schubert
28f0d6899b
Add slice overload to traceback.FrameSummary.__getitem__ ( #12783 )
2024-10-11 23:42:49 +01:00
Trim21
f625e92ae5
memoryview: remove inheritance from Sequence (#12781 )
...
It doesn't have `index`, `count` or `__reversed__` methods
2024-10-11 17:47:51 +01:00
David Salvisberg
2d31815232
Bump gevent to 24.10.* ( #12779 )
2024-10-11 07:24:41 -07:00
Stephen Morton
03fe755ec1
move _operator classes to operator ( #12745 )
2024-10-11 14:16:47 +02:00
Sebastian Rittau
055d0431ad
Document the supported stdlib versions ( #12731 )
2024-10-11 13:48:54 +02:00
Jan Kühle
a73c77a8be
Update pytype to 2024.10.11 ( #12778 )
2024-10-11 11:59:33 +01:00
Sebastian Rittau
17d2e5a862
Clean up common stubtest allowlist ( #12770 )
...
* Move all platform and installation differences into a separate
section.
* Split sections for missing items into "should be fixed" and "should
not be fixed".
* Add "TODO" markers to appropriate sections.
2024-10-10 07:53:26 -07:00
Sebastian Rittau
4f94a0e140
Bump fpdf2 to 2.8.1 ( #12753 )
...
Closes : #12738
2024-10-10 07:49:39 -07:00
Sebastian Rittau
c490871c32
Add 'nis' to stubtest allowlist ( #12769 )
2024-10-10 16:36:07 +02:00
Jun Komoda
1939ed1dc1
ctypes.POINTER(None) returns ctypes.c_void_p (#12754 )
2024-10-10 12:29:37 +02:00
Sebastian Rittau
98f3e5772d
[fpdf2] Add actual NamedTuple defaults ( #12768 )
2024-10-10 12:24:26 +02:00
Cal Jacobson
3f04e4d65b
update psutil.Process.parent() return type ( #12767 )
...
per `psutil.Process.parent()`'s docstring, it may return `None`.
0a71d0e404/psutil/__init__.py (L574)
2024-10-09 22:18:35 -07:00
Stephen Morton
f83b6fadbe
add _asyncio ( #12766 )
...
improves naming and inheritance for asyncio.Future and asyncio.Task
related to https://github.com/python/typeshed/issues/3968
2024-10-09 20:55:28 -07:00
Stephen Morton
42ebc89d8c
remove redundant methods from _io classes ( #12761 )
2024-10-09 20:32:54 -07:00
Stephen Morton
4b6869d572
remove SupportsInt from bases of ipaddress._BaseAddress ( #12765 )
...
added in 2017: https://github.com/python/typeshed/pull/1361
This use case no longer requires the protocol to be an actual base
class.
2024-10-09 20:32:06 -07:00