gh-108278: Deprecate passing the three first params as keyword args for sqlite3 UDF creation APIs by erlend-aasland · Pull Request #108281 · python/cpython
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) Deprecate passing the callback as a keyword argument, for the following sqlite3.Connection APIs: - set_authorizer(callback) - set_progress_handler(callback, n) - set_trace_callback(callback) The affected parameters will become positional-only in Python 3.15.
erlend-aasland
changed the title
gh-108278: Clean up some sqlite3 connection APIs
gh-108278: Clean up sqlite3.Connection APIs
erlend-aasland
changed the title
gh-108278: Clean up sqlite3.Connection APIs
gh-108278: Deprecate passing the three first params as keyword args for sqlite3 UDF creation APIs
vstinner pushed a commit to vstinner/cpython that referenced this pull request
…args for sqlite3 UDF creation APIs (python#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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters