]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: don't raise a warning using a builtin for JSON dumps/loads
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 10 Sep 2025 10:07:46 +0000 (12:07 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 11 Sep 2025 10:32:35 +0000 (12:32 +0200)
commit21eb5ca44a9d20eaee88ece5d947deb1813b8189
tree1861ec4377974102a7f3058dbb10805a2410dc57
parent66d871677f6487d4ddc6bd692a1b4beed8973e40
fix: don't raise a warning using a builtin for JSON dumps/loads

These types are stable so will not leak. However they have no
code/closure dunder attr so they will raise a warning.

Fix #1165.
docs/news.rst
psycopg/psycopg/types/json.py
tests/types/test_json.py