Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcKEs-00059F-KS for psycopg@arkaria.postgresql.org; Tue, 10 Nov 2020 03:22:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcKEr-0006VE-KI for psycopg@arkaria.postgresql.org; Tue, 10 Nov 2020 03:22:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcKEr-0006V7-FE for psycopg@lists.postgresql.org; Tue, 10 Nov 2020 03:22:33 +0000 Received: from smtp81.iad3a.emailsrvr.com ([173.203.187.81]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcKEp-0000XX-Bv for psycopg@lists.postgresql.org; Tue, 10 Nov 2020 03:22:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=g001.emailsrvr.com; s=20190322-9u7zjiwi; t=1604978548; bh=iG/kCcao2P1Bjup46y47vKtbOCYLfyOJcWYt/Qt4wqY=; h=Subject:From:Date:To:From; b=IP5Gkq6i6N+X3fT/6+dM7R71juabBoRouChxD7UztFE4J5F26ldfIdOJTC/eu9E1g q6hrAZUInop/XuUNmTpuPcve5jhbb21i3bLSAXmmQSIS5RVLP8YCe9fsRiQBVT7IMc +k/BwjZIsKH/twmq17gNQaArynQh+B/T9+KalgSw= X-Auth-ID: xof@thebuild.com Received: by smtp27.relay.iad3a.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 11E05248A7; Mon, 9 Nov 2020 22:22:25 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.5\)) Subject: Re: psycopg3 and adaptation choices From: Christophe Pettus In-Reply-To: Date: Mon, 9 Nov 2020 19:22:19 -0800 Cc: Vladimir Ryabtsev , Federico Di Gregorio , psycopg@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <9989BCEF-2CC4-4AA4-9E4E-C83740F21414@thebuild.com> References: <2b9859f0-0964-2baa-b6bc-13f975ae0f67@aklaver.com> <88fb7a7e-a182-a816-c1a7-8a1f54b65215@aklaver.com> <4830fb8d-fa57-e0f8-0e4f-a96ed040dede@dndg.it> <1546497c-ff41-9bd0-b4d7-931bd305caac@dndg.it> To: Daniele Varrazzo X-Mailer: Apple Mail (2.3445.9.5) X-Classification-ID: 15dd1705-5cc3-4bee-a579-1e2d0a6fb7e8-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Nov 9, 2020, at 19:20, Daniele Varrazzo = wrote: >=20 > Choices to cast Python ``int`` type: Is it absurd to make the choice at execution time, based on the actual = value of the Python int? -- -- Christophe Pettus xof@thebuild.com