From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id qxXBHrxc8mgHvTwAWB0awg (envelope-from ) for ; Fri, 17 Oct 2025 11:11:56 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=JH3uyt0B; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 68F031E0BA; Fri, 17 Oct 2025 11:11:56 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,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 8691E1E047 for ; Fri, 17 Oct 2025 11:11:55 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E70E73857830 for ; Fri, 17 Oct 2025 15:11:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E70E73857830 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=JH3uyt0B Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 8C2BC3858D1E for ; Fri, 17 Oct 2025 15:11:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8C2BC3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8C2BC3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760713877; cv=none; b=W2bCUu7o5SvOmc+cKKnGOmbl2wVxD3wA+tVCjOdMDH5V3FTyeoNrWS0I1Vxcek6xHwGkjp5g3XNf6sLDxHemUecNCkWaFx9l51Y2ClEuCNWD+dIx8m9RxQuyDV2ZA/IxtWfU6Do/VUifYPbXrsAaL35SJw/ebLa/iapCLqOk/qU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760713877; c=relaxed/simple; bh=1kZ1Dj/OJ2JeN+gtzd/apWU5CSd3B8sRk4l8Z5x6m3Q=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=fTBGDvKX9+ZJH/6c8rsZ2fZXD4o+3GLuFwEcL9aIby1GJTLCplhki7ImZ4ivCYOIkpzTQ0Pqc1QV2Yi6gRgZfCWLtLq0CrPHO4zJ7dM/BiQ+Xctd/nO4frUrEWNmz+2pC/0P6pf03eMG11bfJ3FLVZKEYkiGZYaaTgguszuX9AU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C2BC3858D1E Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v9m6u-0005xS-0n; Fri, 17 Oct 2025 11:11:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bBAvI7uO2zKxvPlA1i8Tgk6LBIGl1xvQUyYNLmqYEEo=; b=JH3uyt0BTgty g8yMDUb8YiIio0CAMQ60jpYV0RoRPeY0GxC5tP17rBvu2xFMLTYFJrRmaV3Bv6M/QE8mVNDy41ckz 8BC80SwXL2zrhRNZQHaybFbaJJTY5ivG5NsoWTQc9T07qXKL7ppZ0tzXcQjH0S5PSEuKtD8BXHjVa bYuH+vvv7cAmQbLLWzPvYtcgCD8QSjAeonEY9vh8Kyhh00RjOXWz2LG8vytswrguS7NkI6kCZz1ud D5DQOJSaQToO8ODWbCKKpiga9cOHAW4EDr+MLTND1buyDRbUlz94t7ZMVU+IyEnITC6CJhrtlq/03 N726oCaMStIPspm9a4jTeg==; Date: Fri, 17 Oct 2025 18:11:11 +0300 Message-Id: <86jz0tftrk.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey Cc: tdevries@suse.de, gdb-patches@sourceware.org In-Reply-To: <87h5vxr4zp.fsf@tromey.com> (message from Tom Tromey on Fri, 17 Oct 2025 08:13:14 -0600) Subject: Re: [PATCH] [gdb/python] Use PyConfig for python 3.9 References: <20251017133624.2460264-1-tdevries@suse.de> <87h5vxr4zp.fsf@tromey.com> 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 > From: Tom Tromey > Cc: gdb-patches@sourceware.org > Date: Fri, 17 Oct 2025 08:13:14 -0600 > > >>>>> "Tom" == Tom de Vries writes: > > Tom> The problem doesn't happen if we use the PyConfig approach instead of the > Tom> py_initialize_catch_abort approach. > > Tom> Fix this by using the PyConfig approach starting 3.9 (previously, starting > Tom> 3.10 to avoid Py_SetProgramName deprecation in 3.11). > > Seems fine to me. > > Tom> It's possible that we have the same problem and need the same fix for 3.8, but > Tom> I don't have a setup to check that. Add a todo in a comment. > > 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.