summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend@python.org>2023-08-28 13:32:07 (GMT)
committerGitHub <noreply@github.com>2023-08-28 13:32:07 (GMT)
commit4116592b6f014a2720e9b09e2c8dec4bf4b4cd8f (patch)
tree676911a42fc5d148e3b118d9998ebfba6a804a9a /Doc/whatsnew
parentbc5356bb5d7e3eda44128e89a695c05066e0840b (diff)
downloadcpython-4116592b6f014a2720e9b09e2c8dec4bf4b4cd8f.zip
cpython-4116592b6f014a2720e9b09e2c8dec4bf4b4cd8f.tar.gz
cpython-4116592b6f014a2720e9b09e2c8dec4bf4b4cd8f.tar.bz2
gh-108278: Deprecate passing the three first params as keyword args for sqlite3 UDF creation APIs (#108281)
Deprecate passing name, number of arguments, and the callable as keyword arguments, for the following sqlite3.Connection APIs: - create_function(name, nargs, callable, ...) - create_aggregate(name, nargs, callable) The affected parameters will become positional-only in Python 3.15.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.13.rst11
1 files changed, 10 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index d31d458..a17b549 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -252,7 +252,16 @@ Deprecated
* Passing more than one positional argument to :func:`sqlite3.connect` and the
:class:`sqlite3.Connection` constructor is deprecated. The remaining
parameters will become keyword-only in Python 3.15.
- (Contributed by Erlend E. Aasland in :gh:`107948`.)
+
+ Deprecate passing name, number of arguments, and the callable as keyword
+ arguments, for the following :class:`sqlite3.Connection` APIs:
+
+ * :meth:`~sqlite3.Connection.create_function`
+ * :meth:`~sqlite3.Connection.create_aggregate`
+
+ The affected parameters will become positional-only in Python 3.15.
+
+ (Contributed by Erlend E. Aasland in :gh:`107948` and :gh:`108278`.)
Pending Removal in Python 3.14
------------------------------