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

Erlend Egeberg Aasland report at bugs.python.org
Tue Feb 9 05:58:02 EST 2021


Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:

Quoting from Victor Stinner's reply on python-dev (https://mail.python.org/archives/list/python-dev@python.org/message/X6SZIVOZ233TLLJV43UQEHMV3ELGP34S/):

If there are applications relying on the parameter name, it's better
to trust the Python implementation, rather than the documentation.

It would be better to make these parameters positional only in the
first place, but now it's too late for such backward incompatible
change :-(

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43094>
_______________________________________


More information about the Python-bugs-list mailing list