From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EyqENhx08mh36TwAWB0awg (envelope-from ) for ; Fri, 17 Oct 2025 12:51:40 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=aarsen.me header.i=@aarsen.me header.a=rsa-sha256 header.s=MBO0001 header.b=fcEIB6dt; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CB4BE1E047; Fri, 17 Oct 2025 12:51:40 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id F11401E047 for ; Fri, 17 Oct 2025 12:51:39 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 63B7C3857806 for ; Fri, 17 Oct 2025 16:51:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63B7C3857806 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=aarsen.me header.i=@aarsen.me header.a=rsa-sha256 header.s=MBO0001 header.b=fcEIB6dt Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) by sourceware.org (Postfix) with ESMTPS id 0F66E3858D1E for ; Fri, 17 Oct 2025 16:51:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F66E3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0F66E3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=80.241.56.151 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760719868; cv=none; b=n+IcHN42RrossDa4J/ShcSfebGs7oWJ7icJ6hh4WQn66I6zaRRUPvUAzvEB2tywHRN3hDvxgFUFE2D6LvaNxTBCWCDP/WwGtvH5sU0C6jnogzXDHM+eJnQS19DNYlLpSpF9+iLUPBnXWihqt01bkL6oUf08ctS7Y0qC1Zn7+9KA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760719868; c=relaxed/simple; bh=F+aT/wCmh+XTpA89Vcg73RtZ0TFXCVlJBh8Ids0wxmE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=oHVaxuMs9YSSHuQ61opqg1tr+4RT1bbxy4yh0ZGrQRHQkao8tf/jaR2TEvPJN/dAobu3TB5KJD3sdYGlJ/XiNfuahbo0b1lxUh2GAeMxf3XbKXbav8IqvtnD4ZUIio1wZeUfXKjJsbcuNB8LJL2YLNBW6oBP2AWKEHCIcQU1bnc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F66E3858D1E Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4cp9nP15v4z9t4X; Fri, 17 Oct 2025 18:51:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1760719865; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=E2iKB/X6EMMYUC2NqzgUm6LHvZ0nYy68oXWUbnIuR8I=; b=fcEIB6dtbjMwTBEjhSktbUtR2lNOhHdzZhl25ot9RGCaHHZk+/B2xOu1befNhsPIbIpRlp J5o8J8IEEMMaunx2wA8djPkT9JaAQnQ+jLfZLNt7sJR4KA3JVy/YUX7L62HswAz78XzQNJ SVeRQd/OZ0kmiHe+5rue04NiwEx493ab7knVi4AkQWGFr8pprzhybM3tuX8R/iBoJQ4t4T +kh+93nCUMYp5qU8V2M1zZ4dNaLVePz9TWy4PPWq6odjzBTu+Tny2IxL4n0GDJT6IRdBxI B8qK2iS65FM6+GkCqeW+9o6CUpgVMuLPHfBgZonwwIf81xUhgiDnY2J5hbREvA== From: =?utf-8?Q?Arsen_Arsenovi=C4=87?= To: Eli Zaretskii Cc: Tom Tromey , tdevries@suse.de, gdb-patches@sourceware.org Subject: Re: [PATCH] [gdb/python] Use PyConfig for python 3.9 In-Reply-To: <86jz0tftrk.fsf@gnu.org> References: <20251017133624.2460264-1-tdevries@suse.de> <87h5vxr4zp.fsf@tromey.com> <86jz0tftrk.fsf@gnu.org> Date: Fri, 17 Oct 2025 18:51:02 +0200 Message-ID: <86ms5p4gll.fsf@aarsen.me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Tom Tromey >> Cc: gdb-patches@sourceware.org >> Date: Fri, 17 Oct 2025 08:13:14 -0600 >>=20 >> >>>>> "Tom" =3D=3D Tom de Vries writes: >>=20 >> Tom> The problem doesn't happen if we use the PyConfig approach instead = of the >> Tom> py_initialize_catch_abort approach. >>=20 >> Tom> Fix this by using the PyConfig approach starting 3.9 (previously, s= tarting >> Tom> 3.10 to avoid Py_SetProgramName deprecation in 3.11). >>=20 >> Seems fine to me. >>=20 >> Tom> It's possible that we have the same problem and need the same fix f= or 3.8, but >> Tom> I don't have a setup to check that. Add a todo in a comment. >>=20 >> I wonder if anyone even uses that version. It has been EOL'd. > > We still support Python 3.4, because that's the only version available > on Windows XP. Why does that matter? We shouldn't hold back development of free software for sake of a long-abandoned proprietary operating system. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQECBAEWCgCqFiEE/uKz0RP8AKMWLWBhUsKUMB6ixJMFAmjyc/YbFIAAAAAABAAO bWFudTIsMi41KzEuMTEsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGRUUyQjNEMTEzRkMwMEEzMTYyRDYw NjE1MkMyOTQzMDFFQTJDNDkzEBxhcnNlbkBhYXJzZW4ubWUACgkQUsKUMB6ixJPA PgEAlS2Pwf839++hUn8b82yCsWAPENamLgtN584IPvsk3u4A/iLn5cyCt1yAy2Xw 5bIcBXhD3UL+tgVIK+C6eJN/MUsB =cyML -----END PGP SIGNATURE----- --=-=-=--