]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Drop Cursor._set_results()
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 2 Jan 2022 18:22:34 +0000 (19:22 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 2 Jan 2022 19:55:58 +0000 (20:55 +0100)
commitefb8c9db3d392669e49e8b9ee8bca45aa4544b72
tree71eb0305c5e0c1bce1e5e4c46fc30772b5beca49
parentd49e5d17f8abf19f7381b6ec86f12e8aaf03b958
Drop Cursor._set_results()

Split it into a _check_results() and leave the caller manage the cursor state.
psycopg/psycopg/cursor.py
psycopg/psycopg/server_cursor.py