5 ms·
Yes, it is released [1]. This allows you to access it from multiple thread in the same interpreter though, so I still don't understand robertlagrant's question.
by remram 4y ago
Yes, it is released [1]. This allows you to access it from multiple thread in the same interpreter though, so I still don't understand robertlagrant's question.
[1]: https://github.com/python/cpython/blob/4b81139aac3fa11779f6eedb6e621bde29e64b30/Modules/_sqlite/cursor.c#L518-L520 https://github.com/python/cpython/blob/4b81139aac3fa11779f6e...