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

Instead of using a custom context struct for sqlite3_create_funcion_v2(), we 
may just use sqlite3_context_db_handle() to get `self`, and then fetch the 
state using PyType_GetModuleState(Py_TYPE(self)).

----------

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

Reply via email to