[issue43094] sqlite3.create_function takes parameter named narg, not num_params

2021-02-09 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +23280 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24489 ___ Python tracker

[issue43094] sqlite3.create_function takes parameter named narg, not num_params

2021-02-09 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Quoting from Victor Stinner's reply on python-dev (https://mail.python.org/archives/list/python-...@python.org/message/X6SZIVOZ233TLLJV43UQEHMV3ELGP34S/): If there are applications relying on the parameter name, it's better to trust the Python

[issue43094] sqlite3.create_function takes parameter named narg, not num_params

2021-02-02 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43094] sqlite3.create_function takes parameter named narg, not num_params

2021-02-01 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43094] sqlite3.create_function takes parameter named narg, not num_params

2021-02-01 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: There's also a discrepancy between the docs and the signature for create_aggregate(): https://docs.python.org/3.9/library/sqlite3.html#sqlite3.Connection.create_aggregate create_aggregate(name, num_params, aggregate_class) The second parameter is

[issue43094] sqlite3.create_function takes parameter named narg, not num_params

2021-02-01 Thread Nicholas Chammas
New submission from Nicholas Chammas : The doc for sqlite3.create_function shows the signature as follows: https://docs.python.org/3.9/library/sqlite3.html#sqlite3.Connection.create_function ``` create_function(name, num_params, func, *, deterministic=False) ``` But it appears that the