]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Use cdll instead of pydll in ctypes pq wrapper
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 12 Jan 2021 21:47:57 +0000 (22:47 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 12 Jan 2021 22:15:16 +0000 (23:15 +0100)
commit69fbbec4337494550d76de9837717534e6f70e9b
treee8ff60744aa3199aa69b2aed71d939383219c380
parent40217e2dc73494832119644415b58b490bd316f8
Use cdll instead of pydll in ctypes pq wrapper

cdll releases the GIL. Even for callback functions it doesn't seem a
problem.
psycopg3/psycopg3/pq/_pq_ctypes.py
tests/test_adapt.py