]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor(wait): disallow interval=None in wait functions
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 14 Sep 2025 15:10:33 +0000 (17:10 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 13 Oct 2025 01:25:16 +0000 (03:25 +0200)
commit79c52af6ce5360a773469a47da86cebb0cafbf3e
treefeda11fe059a09a2df894666c586c6dd69a88cd7
parentf0b2d172ea88d06ebab55b7bb511737019f9c879
refactor(wait): disallow interval=None in wait functions

It is not used internally: we always use an interval to allow for
Ctrl-C. It causes ambiguity with 0, which might be a value useful for
polling.
psycopg/psycopg/abc.py
psycopg/psycopg/connection.py
psycopg/psycopg/connection_async.py
psycopg/psycopg/waiting.py
psycopg_c/psycopg_c/_psycopg/waiting.pyx
tests/test_waiting.py