closes bpo-37347: Fix refcount problem in sqlite3. (GH-14268)

This commit is contained in:
gescheit 2019-07-13 06:15:49 +03:00 committed by Benjamin Peterson
parent 0827064c95
commit b9a0376b0d
6 changed files with 66 additions and 98 deletions

View file

@ -85,11 +85,10 @@ typedef struct
*/
PyObject* text_factory;
/* remember references to functions/classes used in
* create_function/create/aggregate, use these as dictionary keys, so we
* can keep the total system refcount constant by clearing that dictionary
* in connection_dealloc */
PyObject* function_pinboard;
/* remember references to object used in trace_callback/progress_handler/authorizer_cb */
PyObject* function_pinboard_trace_callback;
PyObject* function_pinboard_progress_handler;
PyObject* function_pinboard_authorizer_cb;
/* a dictionary of registered collation name => collation callable mappings */
PyObject* collations;