pg.ddx.io  psycopg/psycopg GitHub issues and pull requests  
help / color / mirror / Atom feed
From: dvarrazzo (@dvarrazzo) <noreply+dvarrazzo@github.com>
To: psycopg/psycopg <noreply+psycopg-psycopg@github.com>
Subject: Re: [psycopg/psycopg] PR #1505: Decode JSON data using the connection encoding
Date: Thu, 19 Nov 2026 22:42:00 +0000
Message-ID: <gh-psycopg-psycopg-1505-rc4636088824@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1505@github.com>
References: <gh-psycopg-psycopg-1505@github.com>

(on psycopg/psycopg/types/json.py:263)

It's kinda contradictory to call a function "decode" if it can return the unchanged bytes. But then I don't know which name to give it. `_maybe_decode()`, maybe?

view thread (10+ messages)  latest in thread

Message-ID: <gh-psycopg-psycopg-1505-rc4636088824@github.com>
Permalink:  ../gh-psycopg-psycopg-1505-rc4636088824@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox