]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: drop warning for objects passed as JSON lods/dump function fix-builtin-dumper-loader
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 10 Sep 2025 19:55:02 +0000 (21:55 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 11 Sep 2025 10:34:15 +0000 (12:34 +0200)
commit7829262eb664f5fc73685e7ce8a4311d79ea502b
tree43550ff44920bbedc74260e4830c7b00c927ad89
parent21eb5ca44a9d20eaee88ece5d947deb1813b8189
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