]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: drop warning for objects passed as JSON lods/dump function 1166/head
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 10 Sep 2025 19:55:02 +0000 (21:55 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 10 Sep 2025 19:55:02 +0000 (21:55 +0200)
commitd75d8450521394d72e4790853f350f8c027d09c3
tree142ad5b6d3bed739e4dd2850a199bb986e6b4e5b
parent74d20b52df430d3c3d11fb4949e8d252865c6b67
fix: drop warning for objects passed as JSON lods/dump function

Just optimistically assume that they are ok and will not cause leaks.
The possibility of there being something else which might cause a leak
is lower than the possibility that we didn't think about something else
and raise a warning, refusing to cache the loader, and really cause a
leak.
psycopg/psycopg/types/json.py