Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFMdv-00CeKN-5P for pgsql-docs@arkaria.postgresql.org; Mon, 25 Nov 2024 00:07:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tFMcu-00AE90-Gj for pgsql-docs@arkaria.postgresql.org; Mon, 25 Nov 2024 00:06:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFMcs-00AE8s-Sf for pgsql-docs@lists.postgresql.org; Mon, 25 Nov 2024 00:06:52 +0000 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFMcl-003fbC-8H for pgsql-docs@lists.postgresql.org; Mon, 25 Nov 2024 00:06:50 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 6D12C254012D; Sun, 24 Nov 2024 19:06:40 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sun, 24 Nov 2024 19:06:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1732493200; x=1732579600; bh=mGEcPGWU4Q 4XZzi6cDpBPEY3tr2ZpKqWWxLj+43Adb4=; b=cvbw5kkZk4Qo7mJfqWUXaNlbVi 1pvAHM23j5mtdc5/CzcEJrcuRoXeJBFUDuJ1+hpWKE4deLaOzneKJTfFfEvOFN4i UJclYmjI5abzJ6U+00rwApQzHimmss1ocd6JUwRw1/FyS5qxDfeYBhjPtxfqmlIz iV1lFCnHqOiTNoo1z4BMEdaP7eejl3qL3h4WQcuWtnMF9q+/dClnVboTgNHvKUnH 4cTNw+FrUeuJ0mbQYXLr5cLMuNaaGBQuFKmKudw0GF75eYLtT6PdhN/BENOsg9gC +wRxFZNF1FF4cJLNBrYIvXwmOg0SwHH2bMlvGLTUzswfxfXlBQ+P7zPtjVdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1732493200; x=1732579600; bh=mGEcPGWU4Q4XZzi6cDpBPEY3tr2ZpKqWWxL j+43Adb4=; b=C8JB9MMaM3sIZmNf9rlPV9ziZ5/lh5I0Hm4QHIN6LVTdXZiA92r EzS+79dmggry2GZSy1XLCG18oQQyDo1LP/VacY7b6dlOPgd9EQY3xf+FpLrUzLqD MtcZzdzN2Y655Y2xXL+1eARqLci2tvKhJw5axFfZBUS1K8RusNRz+2TQ8mpQIIxs f/qZv/FJw9YVNlaAmX6Z10W+c/7Oqc3uQ/eCTuy8mfHWSpSF+cuEaXAiduHjjzuy dAXUiS7BEbIlHOMXSUR88AyeqLe3tXyQ4dLXA8cbHYIyM/rEQGG8AtH147RJiPFt wu8gzCpUzlAJPMVX7EqhxNkIJUjsa3rdSKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeeggddukecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenfghrlhcuvffnffculdefhedmnecujfgurhepfffhvfevuffkfhgg tggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoe hmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeegleeh heetvdevvdevteffkeektdffhfettedutedvgfdvheehhefggfdukeejvdenucffohhmrg hinhepphihthhhohhnrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidpnhgspghrtg hpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvgifihgvsegvfihi vgdrnhgrmhgvpdhrtghpthhtohepvghlgeekudeshigrnhguvgigrdhruhdprhgtphhtth hopehpghhsqhhlqdguohgtsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 Nov 2024 19:06:37 -0500 (EST) Date: Mon, 25 Nov 2024 09:06:21 +0900 From: Michael Paquier To: Erik Wienhold Cc: el481@yandex.ru, pgsql-docs@lists.postgresql.org Subject: Re: Misprints in code Message-ID: References: <173209043143.2092749.13692266486972491694@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZS5GL12+0nzivjnN" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ZS5GL12+0nzivjnN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 21, 2024 at 04:31:07PM +0100, Erik Wienhold wrote: > Good catch! That's a leftover from Python 2 and missed in commit > 4228cabb72b after Python 2 was dropped in 15.0. Patch attached. >=20 > While looking at, we can also simplify a couple of plpython3u test > functions that still try res.next() before res.__next__(). Attached as > a separate patch. Sounds about right to me, the example greet() fails with plpython3. For reference, this has been implemented in upstream here: https://peps.python.org/pep-3114/ The existing tests of plpython mentioned this link, and I've bumped over it again while looking for references on the matter. Will fix. Thanks for the report! -- Michael --ZS5GL12+0nzivjnN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmdDv30ACgkQnvQgOdby QH1I1RAAmTXPzzACs4JsMRufVJ21eCujoQ66g9GSD/FhosKJN40pnL11Wwu7vl/X aC70Ggadp68oJZ3vGlo2hDkmQETFYuxBg7IG9sk+k2yqtsscUqTNqxLuF05wP5k9 FMkyx5m41eFG5dnjfgT1eJQz++B0LWZbQ0i9vnwmsdAjEL7suSYaU27bGiBvrtn2 7jVi1B/8yqDbpzXBw9xggNIcpknPi0qIspUsFltBTC7w1MfOHj4DLwTRnk7b35eV eXqbtJxlbRqcm22RS62VR4n7FIDrGjjgbAiKywykHBTZfSsYuK87svLauNRSQvJb kq22WpjKgDiLoitdkVoRwac8aviRJL9WAZtiBIwMq1AqOqhKCmnQP/EorFiUaTaI bwnmXbnN33uNDE8T76eIjky1YdiradaM60cRSPwYCeX5JQO/Npybzs4tv1yDPNkJ aQhSQZH4A4O59kmgZAfgsRIOk9j89oESKP9WgRjr59cvnwkywVZhouwG2BWXE6X6 C8PeUQkfxb6+zR079eHtC7o1XOemDAZ7ZBVZmbql2NmxAQVO3G16bV2RhoaUd8o+ c045kePeFtYA6Q3NESx/v6JsXc8AIGrzuE6b2dClLrjfOT84Eadc7aqgGs+AqPzc 7nddWkiE+s1X9FMXZz/hvR9YwocZy0ooDC/SLyskgvbpIXRzhWE= =CanC -----END PGP SIGNATURE----- --ZS5GL12+0nzivjnN--