[issue40956] Use Argument Clinic in sqlite3

Erlend Egeberg Aasland report at bugs.python.org
Tue Oct 13 10:38:04 EDT 2020


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

The primary reason is that it will be provide easy access to module state.

The first step in making sqlite3 support multiphase init was to create heap types. The second step is argument clinic. The third will be to use AC for module state. The last step will then be final multiphase support.

Also, IMHO, AC greatly improves the body of methods (readability => maintainability, hardened parsing of arguments)

----------

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


More information about the Python-bugs-list mailing list