Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-108278: Deprecate passing the three first params as keyword args for sqlite3 UDF creation APIs#108281
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Deprecate passing name, number of arguments, and the callable as keywordarguments, 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 followingsqlite3.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.
I updated the PR to only affect UDF creation APIs. |
Uh oh!
There was an error while loading.Please reload this page.
I'd like to land this; are you ok with the change,@serhiy-storchaka? |
I'm landing this. It is for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM, but please get an approval of yet one core developer. Has this change been discussed with a wider audience?
Uh oh!
There was an error while loading.Please reload this page.
I posted atopic on Discourse. Brett and Berker left a "heart" reaction; I did not get any discouragements. Since Berker also is a code owner for the sqlite3 code, I count that as fairly strong support. |
Well, then go ahead! |
bedevere-bot commentedAug 28, 2023
There's a new commit after the PR has been approved. @serhiy-storchaka: please review the changes made to this pull request. |
…args for sqlite3 UDF creation APIs (python#108281)Deprecate passing name, number of arguments, and the callable as keywordarguments, 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.
Uh oh!
There was an error while loading.Please reload this page.
Deprecate passing name, number of arguments, and the callable as keyword
arguments, for the following sqlite3.Connection APIs:
The affected parameters will become positional-only in Python 3.15.
📚 Documentation preview 📚:https://cpython-previews--108281.org.readthedocs.build/