[issue40956] Use Argument Clinic in sqlite3

Erlend Egeberg Aasland report at bugs.python.org
Wed Jan 13 06:28:04 EST 2021


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

I don't see how to easily solve this in AC: we want the arraysize of the cursor instance, but I don't see how I'm going to get this via the AC namespace/context. Using a "bogus" default value works:

size as maxrows: int(c_default='self->arraysize') = 1

Is there a better way?

----------

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


More information about the Python-bugs-list mailing list