Commit Graph

6117 Commits

Author SHA1 Message Date
Semyon Moroz bdd6546471 [ssl] Deprecate several features (#14432) 2025-07-26 07:54:23 -07:00
Semyon Moroz 6e474f2d0f [difflib] Update pat param for IS_LINE_JUNK (#14449) 2025-07-26 07:45:11 -07:00
Semyon Moroz 4a8635d106 [threading] Add missing default values (#14458) 2025-07-26 16:33:19 +02:00
Semyon Moroz 1bd302042d [sqlite3] Use TypeAlias for isolation_level (#14460) 2025-07-26 16:26:01 +02:00
Sebastian Rittau 8317409c18 [ctypes] Replace two instances of Any (#14047) 2025-07-26 16:24:04 +02:00
Semyon Moroz 4860c36f01 [configparser] Add missing default values (#14450) 2025-07-26 05:43:50 +02:00
Semyon Moroz 4d62c18261 [ipaddress] Add default value for strict param (#14451) 2025-07-26 05:43:23 +02:00
Semyon Moroz 14474afb85 [datetime] Add missing default values (#14452) 2025-07-26 05:40:35 +02:00
Semyon Moroz 8a6075ffcc [pprint] Add missing default values (#14453) 2025-07-26 05:40:03 +02:00
Brian Schubert c97c3f0fd0 Update tarfile.TarFile.list to accept any iterable for members (#14455) 2025-07-26 05:25:40 +02:00
Brian Schubert 6b8df6b753 Mark tarfile constants as Final (#14456) 2025-07-26 05:24:09 +02:00
Semyon Moroz 3e76afe909 [tempfile] Deprecate mktemp function (#14433) 2025-07-24 15:32:33 -07:00
Semyon Moroz 1b87479334 [signal] Add default value for params (#14448) 2025-07-24 19:01:14 +02:00
Sebastian Rittau 82edad066f Updates for Python 3.14rc1 (#14446) 2025-07-24 16:30:00 +02:00
Semyon Moroz a1dc346ef6 [json] Add default value for strict param to scanstring (#14441) 2025-07-23 13:04:13 +02:00
Brian Schubert 723db2f132 Add concurrent.interpreters stubs for 3.14.0b3 (#14307) 2025-07-21 15:31:29 +02:00
Sebastian Rittau 217be6680a Improve suggested annotations for sentinel types (#14435) 2025-07-21 15:30:00 +02:00
TuckerD 08225953c9 Add missing _add_value_alias_ method for Python 3.13 enum (#14411) 2025-07-21 12:48:15 +02:00
Alex Waygood ae1b471e5b Remove redundant version_info branches (#14434) 2025-07-20 23:56:22 +01:00
Semyon Moroz 7c7f8cd184 [uuid] Add default value for is_safe param (#14431) 2025-07-20 08:24:23 +02:00
Semyon Moroz 2c366c0987 [argparse] Add default value _SubParsersAction.add_parser params (#14429) 2025-07-18 20:53:58 +02:00
Semyon Moroz 611cba35d9 [argparse] Deprecate prefix_chars in ArgumentParser.add_argument_group (#14428) 2025-07-18 20:53:30 +02:00
Leonardus Chen a1ae191820 Fix unittest.mock.patch and unittest.mock.patch.object when new_callable is not None (#14358) 2025-07-16 14:37:32 +02:00
Max Muoto 3f0dce5abe Update sys.monitoring for 3.14 (#14288) 2025-07-16 14:22:12 +02:00
Randolf Scholz bd17a577a5 Require SupportsBool instead of bool for comparisons. (#14375) 2025-07-16 13:31:32 +02:00
Michael H d73534badf add rich comparison bound to heapq and priorityqueues using heapq (#14419) 2025-07-15 19:36:28 -07:00
Lev Knoblock 9a0eaf8df5 _json: Type indent as str | None (#14398) 2025-07-12 12:38:31 -07:00
Brian Schubert eba42bdf9e Add default value for expression parameter of string.templatelib.Interpolation (#14403)
Add default for `Interpolation.expression`
2025-07-12 19:18:25 +02:00
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