8000 gh-108278: Deprecate passing the three first params as keyword args for sqlite3 UDF creation APIs by erlend-aasland · Pull Request #108281 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-108278: Deprecate passing the three first params as keyword args for sqlite3 UDF creation APIs #108281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Sphinx fixup
  • Loading branch information
erlend-aasland committed Aug 22, 2023
commit 634217b3edd1e95e7c95b0e641076f67b9e74d35
10 changes: 5 additions & 5 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -256,17 +256,17 @@ Deprecated
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`
* :meth:`~sqlite3.Connection.create_function`
* :meth:`~sqlite3.Connection.create_aggregate`

The affected parameters will become positional-only in Python 3.15.

Deprecate passing the callback as a keyword argument, for the following
:class:`sqlite3.Connection` APIs:

- :meth:`~sqlite3.Connection.set_authorizer`
- :meth:`~sqlite3.Connection.set_progress_handler`
- :meth:`~sqlite3.Connection.set_trace_callback`
* :meth:`~sqlite3.Connection.set_authorizer`
* :meth:`~sqlite3.Connection.set_progress_handler`
* :meth:`~sqlite3.Connection.set_trace_callback`

The affected parameters will become positional-only in Python 3.15.
(Contributed by Erlend E. Aasland in :gh:`107948` and :gh:`108278`.)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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`
* :meth:`~sqlite3.Connection.create_function`
* :meth:`~sqlite3.Connection.create_aggregate`

Deprecate passing the callback as a keyword argument, for the following
:class:`sqlite3.Connection` APIs:

- :meth:`~sqlite3.Connection.set_authorizer` -
:meth:`~sqlite3.Connection.set_progress_handler` -
:meth:`~sqlite3.Connection.set_trace_callback`
* :meth:`~sqlite3.Connection.set_authorizer`
* :meth:`~sqlite3.Connection.set_progress_handler`
* :meth:`~sqlite3.Connection.set_trace_callback`

The affected parameters will become positional-only in Python 3.15.

Expand Down
0