Hunter Hogan
1880490289
Change ast.MatchSingleton.value from Literal[True, False] to bool ( #14400 )
...
This is the only annotation in typeshed that uses `Literal[True, False]`. The most similar annotations are `Literal[True, 1]`. 371 annotations are `bool | None`.
2025-07-11 15:55:46 -07:00
Sebastian Rittau
d5af6bee35
Clean up deprecated ast.Constant aliases ( #14397 )
...
Add `__new__`, remove fields, mark deprecated `Constant` fields as such.
2025-07-11 14:59:53 +02:00
Semyon Moroz
b7b764b751
Bump HTMLParser.parse_comment to 3.14 ( #14386 )
2025-07-09 12:44:30 +02:00
Semyon Moroz
d4e03e05fb
Update allowlist for Python 3.14 ( #14388 )
...
* Update allowlist for Python 3.14
* Add html.parser entry
2025-07-09 09:28:56 +01:00
Sebastian Rittau
096cf56da3
Revert "Let SupportsDunderLT return SupportsBool instead of `bool… ( #14373 )
...
Revert "Let `SupportsDunderLT` return `SupportsBool` instead of `bool`. (#12939 )"
This reverts commit aed8025d62 .
2025-07-07 16:25:23 +02:00
Randolf Scholz
aed8025d62
Let SupportsDunderLT return SupportsBool instead of bool. ( #12939 )
2025-07-07 16:12:09 +02:00
Jun Komoda
1c82fa75cd
Add CopyComPointer to stdlib/ctypes/__init__.pyi. ( #14294 )
2025-07-07 14:45:09 +02:00
sobolevn
4ceebbcd24
Fix shared type in _interpreters ( #14328 )
2025-07-07 14:15:15 +02:00
Semyon Moroz
b532f6be86
Add attributes to urllib errors ( #14332 )
2025-07-07 14:13:54 +02:00
Hunter Hogan
4c3560d3a9
add ast.Num.n as alias for ast.Num.value for backwards compatibility. ( #14355 )
2025-07-07 13:08:48 +02:00
Rogdham
088a4b8d41
Fix Protocol inheritance in _zstdfile ( #14232 )
2025-07-07 13:06:12 +02:00
Rogdham
5d881e4be0
Python 3.14: PEP-784 zstd in other modules ( #14225 )
2025-07-07 13:05:45 +02:00
David Peter
f64707592d
bytes.translate: generalize delete parameter type (#14372 )
...
bytes.translate: generalize 'delete' parameter type
2025-07-07 00:19:23 -07:00
Anthony Sottile
e940f85509
add sys._getframemodulename ( #14371 )
...
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com >
2025-07-05 23:08:56 +03:00
Hunter Hogan
2f198bcfee
Fix return type annotations for ast.parse ( #14369 )
2025-07-04 15:34:22 -07:00
Neil Mitchell
dbd3ad356e
Make Mapping.get(default) more constrained ( #14360 )
2025-07-02 11:24:32 +01:00
renovate[bot]
75d8c88ec5
Update most test/lint dependencies ( #14354 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2025-07-01 10:59:15 +01:00
Roman A
3f727b0cd6
Add type annotations for **options in tkinter.messagebox functions ( #14341 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2025-07-01 01:13:40 +03:00
Adam Dangoor
288b1e591d
csv: csv.reader and csv.writer - mark csvfile as positional only ( #14350 )
2025-06-30 14:43:49 +03:00
sobolevn
85a64400d7
os.linesep can only be \n or \r\n (#14351 )
2025-06-30 12:16:43 +02:00
Marcell Perger
47cfbeeb76
Fix incomplete tkinter.commondialog stub ( #14340 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2025-06-27 00:42:01 +03:00
bzoracler
14337eba53
fix: gi_yieldfrom can be any iterator type being yielded from ( #14334 )
2025-06-24 14:18:34 +02:00
Brian Schubert
d3cfe67377
Fix type of format_spec attribute of ast.Interpolation ( #14331 )
2025-06-23 19:59:03 -07:00
Marcell Perger
97d0c89618
Improve some of the incomplete types in tkinter.filedialog ( #14311 )
2025-06-23 09:32:29 +03:00
Brian Schubert
85b0663e5c
Mark stdlib token constants as Final ( #14324 )
2025-06-22 06:44:34 -07:00
Hunter Hogan
d0f9f40e32
ast: Remove 3 TypeAlias. Fix identifier collision. ( #14319 )
2025-06-22 06:42:03 -07:00
Brian Schubert
707cd57e49
Add asyncio.tools stubs for 3.14 ( #14305 )
2025-06-21 11:09:25 -07:00
Marc Mueller
91868eadd0
Update ThreadPoolExecutor attributes for Python 3.14 ( #14263 )
2025-06-21 10:51:33 -07:00
Brian Schubert
3419bc5407
Update _zstd stubs for 3.14.0b3 ( #14306 )
2025-06-21 10:40:34 -07:00
Max Muoto
b98b6c376b
Add _clear_type_cache 3.13 deprecation ( #14302 )
2025-06-19 07:04:51 -07:00
Semyon Moroz
db6f2b225d
Unblock daily CI ( #14304 )
2025-06-19 13:26:36 +01:00
Hunter Hogan
ca543bf390
Add default value to ast.MatchStar.name ( #14298 )
2025-06-17 21:03:16 -07:00
Max Muoto
8f5a80e7b7
Update tkinter for 3.14 ( #14240 )
2025-06-07 20:27:13 -07:00
Max Muoto
b7bc6f32cf
Update gzip for 3.14 ( #14237 )
...
* Update gzip for 3.14
* [pre-commit.ci] auto fixes from pre-commit.com hooks
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2025-06-07 19:39:51 -07:00
Max Muoto
bacccd0972
Update asyncio.task.eager_task_factory for 3.14 ( #14236 )
2025-06-07 19:12:18 -07:00
Andrii Hrimov
971d6a30f5
Enhance ZoneInfo.from_file stub ( #14221 )
...
Enhance ZoneInfo.from_file stub
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
2025-06-05 20:04:00 -07:00
Brian Schubert
74be9177e9
Fix stdlib stubtest for latest Python patch releases ( #14220 )
2025-06-05 19:01:31 -07:00
Andrii Hrimov
567b488fc2
Python 3.14: bump fractions stubs ( #14215 )
2025-06-03 20:15:25 +02:00
Sebastian Rittau
42b13697ed
[typing-extensions] Update to 4.14.0 final ( #14214 )
2025-06-02 17:12:37 +02:00
Rogdham
798f332afa
Python 3.14: PEP-784 compression.zstd ( #14129 )
2025-06-02 13:02:27 +02:00
sobolevn
eb495ff135
Update mypy to 1.16.0 ( #14194 )
...
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2025-06-01 17:40:42 +01:00
Joren Hammudoglu
a92ecca054
add types.MethodType.__get__ on py313+ ( #14190 )
2025-05-30 18:10:55 +02:00
Jens Hedegaard Nielsen
9c0218ee04
Add merge_extra attribute to LoggerAdapter ( #14197 )
2025-05-30 16:39:32 +02:00
Sebastian Rittau
38ec95323e
Update to Python 3.14.0b2 ( #14182 )
2025-05-28 12:02:19 +02:00
Sebastian Rittau
033c85df99
Remove old cycle-prevention workaround ( #14180 )
...
This was used to prevent an import cycle that exists
anyway nowadays via `_typeshed`.
2025-05-28 11:31:36 +02:00
sobolevn
6588a81051
Update multiprocessing.forkserver to 3.14 ( #14174 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-28 10:15:03 +03:00
Sebastian Rittau
b01e7aa9d2
Remove old compatibility alias _BufferWithLen ( #14151 )
2025-05-27 14:38:04 +02:00
Semyon Moroz
ad38f75b1d
Bump turtle to 3.14 ( #14167 )
2025-05-27 11:26:10 +02:00
Jelle Zijlstra
c7e29eccd9
ast: Precise type for ast.Constant.value ( #14159 )
2025-05-27 09:59:02 +02:00
sobolevn
e53e233f24
Update _asyncio to 3.14 ( #14165 )
2025-05-27 09:19:22 +02:00