Erlend E. Aasland <erlend.aasl...@innova.no> added the comment:

> I am not sure what you mean, in the happy path you still need to GC track and 
> allocate.

Currently, we allocate the object, then try to create the statement using the 
SQLite API. If we create the statement first, we can do the sanity check on the 
return value and just return NULL; then we can allocate the Py object and 
initialise the members.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44329>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to