diff options
author | Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2024-05-10 20:42:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 20:42:34 (GMT) |
commit | a0193479475a047b223f64130867a63b672c8dc2 (patch) | |
tree | b88cb5bb5699757b9697bae11db8cd8e6a394120 /Doc/whatsnew | |
parent | b309c8ebff011f27012367b046ff92eecbdd68a5 (diff) | |
download | cpython-a0193479475a047b223f64130867a63b672c8dc2.zip cpython-a0193479475a047b223f64130867a63b672c8dc2.tar.gz cpython-a0193479475a047b223f64130867a63b672c8dc2.tar.bz2 |
gh-118924: Remove `sqlite3.version` and `sqlite3.version_info` (#118925)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.13.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/3.14.rst | 40 |
2 files changed, 30 insertions, 12 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index 37c857d..e69320e 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -1636,7 +1636,7 @@ Pending Removal in Python 3.14 * :mod:`sqlite3`: - * :data:`~sqlite3.version` and :data:`~sqlite3.version_info`. + * :data:`!version` and :data:`!version_info`. * :meth:`~sqlite3.Cursor.execute` and :meth:`~sqlite3.Cursor.executemany` if :ref:`named placeholders <sqlite3-placeholders>` are used and diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 52a24d1..bcb1098 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -104,16 +104,30 @@ Removed argparse -------- -* The *type*, *choices*, and *metavar* parameters - of :class:`!argparse.BooleanOptionalAction` are removed. +* Remove the *type*, *choices*, and *metavar* parameters + of :class:`!argparse.BooleanOptionalAction`. They were deprecated since 3.12. +collections.abc +--------------- + +* Remove :class:`!collections.abc.ByteString`. It had previously raised a + :exc:`DeprecationWarning` since Python 3.12. + + email ----- -* The *isdst* parameter has been removed from :func:`email.utils.localtime`. +* Remove the *isdst* parameter from :func:`email.utils.localtime`. (Contributed by Hugo van Kemenade in :gh:`118798`.) +itertools +--------- + +* Remove :mod:`itertools` support for copy, deepcopy, and pickle operations. + These had previously raised a :exc:`DeprecationWarning` since Python 3.12. + (Contributed by Raymond Hettinger in :gh:`101588`.) + pathlib ------- @@ -122,6 +136,18 @@ pathlib :meth:`~pathlib.PurePath.is_relative_to`. In previous versions, any such arguments are joined onto *other*. +sqlite3 +------- + +* Remove :data:`!version` and :data:`!version_info` from :mod:`sqlite3`. + (Contributed by Hugo van Kemenade in :gh:`118924`.) + +typing +------ + +* Remove :class:`!typing.ByteString`. It had previously raised a + :exc:`DeprecationWarning` since Python 3.12. + Others ------ @@ -129,14 +155,6 @@ Others It had previously raised a :exc:`DeprecationWarning` since Python 3.9. (Contributed by Jelle Zijlstra in :gh:`118767`.) -* :class:`!typing.ByteString` and :class:`!collections.abc.ByteString` - are removed. They had previously raised a :exc:`DeprecationWarning` - since Python 3.12. - -* :mod:`itertools` support for copy, deepcopy, and pickle operations. - These had previously raised a :exc:`DeprecationWarning` since Python 3.12. - (Contributed by Raymond Hettinger in :gh:`101588`.) - Porting to Python 3.14 ====================== |