Commit Graph

5972 Commits

Author SHA1 Message Date
Edgar Ramírez Mondragón 3f8a48f6cc Add new Python 3.14 argparse.ArgumentParser constructor parameters (#13947)
These are

- `suggest_on_error`, added by https://github.com/python/cpython/pull/124456, made keyword-only by https://github.com/python/cpython/pull/133302
- `color`, added by https://github.com/python/cpython/pull/132323

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2025-05-11 22:26:28 -07:00
Semyon Moroz d01b052dad Bump decimal to 3.14 (#14017)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2025-05-11 22:23:21 -07:00
Jelle Zijlstra 30b7b679f5 Give up on AnnotationForm in typing.pyi (#13999)
From #13985
2025-05-11 15:39:50 -07:00
Max Muoto 268a2e71bd Update pathlib for 3.14 (#14006) 2025-05-11 21:44:37 +02:00
Sebastian Rittau 1ebbbeec75 Make BufferedReader generic over a protocol (#13533) 2025-05-11 16:24:31 +02:00
Sebastian Rittau b444909873 Copy typechecker-internal symbols to _typeshed._type_checker_internals (#13816) 2025-05-11 16:07:53 +02:00
Sebastian Rittau 4118cf8a45 Add io.{Reader,Writer} (#14013) 2025-05-11 06:41:46 -07:00
Rogdham 78fc518ab8 3.14: PEP-784 compression except zstd (#13992) 2025-05-11 15:23:20 +02:00
Semyon Moroz a92579c0b0 Bump unittest to 3.14 (#14012) 2025-05-11 14:40:17 +02:00
Semyon Moroz 9ce2a25b91 Bump http.server to 3.14 (#13981) 2025-05-11 13:56:08 +02:00
Semyon Moroz 268e1caab9 Update argparse to 3.14 (#14005) 2025-05-11 13:25:40 +02:00
Bénédikt Tran db2949804c Added the show_positions parameter to various dis interfaces (#14010) 2025-05-11 13:15:33 +02:00
Semyon Moroz 2312540035 Update traceback.__all__ (#14011) 2025-05-11 00:23:54 -07:00
Semyon Moroz 692c0e9e3e Bump configparser to 3.14 (#14007) 2025-05-11 00:03:41 -07:00
Semyon Moroz e562665478 Update tokens for 3.14 (#14004) 2025-05-10 22:39:53 -07:00
Max Muoto 0f3ff0874c Update functools for 3.14 (#14002) 2025-05-10 21:09:02 -07:00
Max Muoto c4aa48a626 Add context manager for contextvars.Token (3.14) (#13997) 2025-05-10 23:33:33 +02:00
Jelle Zijlstra 5ff32f377c 3.14: add annotationlib, update typing and inspect (#13985) 2025-05-10 14:25:06 -07:00
Max Muoto 8bd5455b32 Add context manager support for QueueListener (3.14) (#13996) 2025-05-10 14:18:37 -07:00
Max Muoto 33a0cb977e Update ProcessPoolExecutor for 3.14 (#13994) 2025-05-10 22:43:14 +02:00
Akuli bd2e68f628 Delete duplicate lines from stdlib/@tests/stubtest_allowlists/py314.txt (#13993) 2025-05-10 22:08:02 +02:00
Semyon Moroz 725f7177b1 Update ast.main function for Python 3.14 (#13982) 2025-05-10 21:32:20 +02:00
Anton Pilipenko d28270b19d Fix tkinter.PhotoImage.put arguments (#13971)
* allow bytes

* put to x1 y1 ?x2 y2?

---------

Co-authored-by: Anton Pilipenko <anton.pilipenko@retechlabs.com>
2025-05-10 22:27:07 +03:00
Max Muoto f90424014b Add strptime for datetime.time and datetime.date (3.14) (#13991) 2025-05-10 21:02:43 +02:00
Max Muoto f67a0df2b8 Update uuid for 3.14, other minor improvements (#13990) 2025-05-10 20:51:32 +02:00
Max Muoto ed5525b284 Add invalidate_caches for 3.14 (#13988) 2025-05-10 20:22:34 +02:00
Max Muoto b64e741a4a Add strict argument for map (3.14) (#13987) 2025-05-10 20:21:41 +02:00
Avasam f17ee46952 Python 3.14: Remove SupportsTrunc from ConvertibleToInt (#13986) 2025-05-10 18:26:23 +01:00
Max Muoto ffc5acbe97 Use literal constant for QuotingType in csv Module (#13983) 2025-05-10 19:21:10 +02:00
Semyon Moroz 6308997a13 Bump getpass to 3.14 (#13967) 2025-05-10 08:17:04 -07:00
Sebastian Rittau 2d50d6b316 Support Python 3.14 (#13957) 2025-05-10 06:27:40 -07:00
Sebastian Rittau 2d46095e3f Fix errors when type checking stdlib with Python 3.14 (#13977) 2025-05-09 21:04:35 +02:00
Hunter Hogan cd98102c6c remove _Identifier: typing_extensions.TypeAlias = str (#13954) (#13964) 2025-05-08 20:40:29 -07:00
Sebastian Rittau 0eb44e574c Clean up and fix email message types (#13532)
* Unify the `_MessageT` type var in `email._policybase`.
* Use explicit type arguments for `Message` type in `_MessageT` type var.
  In particular, change bound from `Message[str, str]` to `Message[Any, Any]`.
* Change `__init__()` overloads of `Parser` and `BytesParser` to accept
  `Message` objects that are not `Message[str, str]` if `_class` is not also given.
2025-05-05 11:59:51 -04:00
Hunter Hogan a4d3f6f0de Re-export ast.Match and ast.TypeAlias from _ast.pyi (#13926)
This matches what we do for all other AST nodes
2025-05-03 11:05:20 +01:00
Semyon Moroz 49afeeb806 Add argument to TarInfo.tarfile setter (#13904) 2025-04-29 20:15:16 +02:00
vidhyavijayan3 42347a1ada Fix base class compatibility for IntFlag in Python 3.11+ to resolve inverted type issue (#13854) 2025-04-28 13:44:40 +02:00
Semyon Moroz 02a9a0e848 Deprecate TarInfo.tarfile attribute (#13894) 2025-04-28 13:41:28 +02:00
Janek Nouvertné 8a6bfb0698 Make AsyncExitStack generic on __aexit__ (#13888) 2025-04-27 11:23:34 +03:00
Thanos e07284f7d9 Add missing _optimize parameter to importlib.machinery.SourceFileLoader method. (#13880) 2025-04-25 12:01:45 +02:00
Semyon Moroz 746dbbcc2b Complete ttkthemes (#13858) 2025-04-25 11:26:21 +03:00
Semyon Moroz 578cddef1f Deprecate undocumented pydoc.ispackage (#13865) 2025-04-24 13:11:45 +02:00
Semyon Moroz e3f0de782d Mark some importlib interfaces as deprecated (#13866) 2025-04-24 13:10:38 +02:00
Avasam 10b4c620d4 Properly mark deprecated methods in threading (#13861) 2025-04-22 09:58:53 +02:00
Noelle Leigh 1b267b25f2 stdlib/unittest/mock.pyi: Improve _Call types (#13845)
This fixes a number of issues related to `_Call` in `stdlib/unittest/mock.pyi`:

- `_Call.__new__()`, `_Call.__init__()`: The `parent` argument should be
  another `_Call` or `None`.
- `_Call.name` doesn't exist.
- `_Call.parent` doesn't exist.
- `_Call.from_kall` doesn't exist.
- [`NonCallableMock.call_args`][0] should be a `_Call` or `None`.

[0]: https://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock.call_args
2025-04-18 12:32:16 -07:00
Sebastian Rittau 45c0e52b30 Remove obsolete mentions of Python 3.8 (#13842) 2025-04-16 11:43:31 +02:00
Sebastian Rittau b67e0da207 Remove obsolete type alias _CursesWindow (#13841) 2025-04-16 11:43:06 +02:00
Sebastian Rittau dfea9a6a26 Document visit method return type (#13831) 2025-04-15 18:09:33 +02:00
Semyon Moroz f65bdc1acd Deprecate ssl methods for NPN (#13823) 2025-04-14 12:44:17 +02:00
Sebastian Rittau de317e1c74 Simplify and fix urllib.parse.urlencode() (#13815)
Remove overloads and type vars. Introduce a protocol for the
`quote_via` argument. This means that the interface accepted by the
supplied `quote_via` is stricter, and is not dependent on the actual
supplied types in the `query` argument, but must work with all
possible query types.
2025-04-14 11:11:06 +02:00