From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8eh9MCJP8mibjzwAWB0awg (envelope-from ) for ; Fri, 17 Oct 2025 10:13:54 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=ASI6b6J1; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id BA8D41E0BA; Fri, 17 Oct 2025 10:13:54 -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.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,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 DC6AB1E047 for ; Fri, 17 Oct 2025 10:13:53 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6D36B3857806 for ; Fri, 17 Oct 2025 14:13:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D36B3857806 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=ASI6b6J1 Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) by sourceware.org (Postfix) with ESMTPS id BFD5A3858D1E for ; Fri, 17 Oct 2025 14:13:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BFD5A3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BFD5A3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760710397; cv=none; b=ZHHsZFM/pcVVktGHInXrKBH8i5sgNjokWlIyvOQxu9W+mwQu3fRNM9NCdf8B95YlgOYw8O2REHbgHWDUG5h2OJ3MK8zL09Nu/ITQdlxUtphk2OG6DRap/q0BeYYaKFFg6vv8UgGhvWodJuVd8lIyLz0CgsiU2yx98yt3kqE5NmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760710397; c=relaxed/simple; bh=+9OtVCIWpCzOlQGZMZXRHePOeVhnqFmV3RymCNmnKDc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=DQc6vc1bBRZdbPQ6mxGptKCYAzAPxVPH9+Z4gNJ4gAiJHHQlRYr8wlztJ8e56vbNVFPIDEsiqgYnxFJt9/WcmLmANsPwiyjygFnXLsB4IyhAkImUW6h48mlI5ifCx6kmmrTyLLiWg96rVY8UNiSWZM8Qfv0hNfRKzSPi9SV0Wzs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BFD5A3858D1E Received: from eig-obgw-6001b.ext.cloudfilter.net ([10.0.30.143]) by cmsmtp with ESMTPS id 9eRXvOrQoSkcf9lCnvcqpZ; Fri, 17 Oct 2025 14:13:17 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 9lCmv8LcIDV659lCmvJJIg; Fri, 17 Oct 2025 14:13:16 +0000 X-Authority-Analysis: v=2.4 cv=dLammPZb c=1 sm=1 tr=0 ts=68f24efc a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=x6icFKpwvdMA:10 a=ItBw4LHWJt0A:10 a=zstS-IiYAAAA:8 a=kfoOxSV8lGV0BOCqkZ8A:9 a=zZCYzV9kfG8A:10 a=4G6NA9xxw8l3yy4pmD5M:22 a=VS4QxaUSPT0UtbFnIvSC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=czm1tYEW7HQcZRBKT1/GQ1eMKEDRVzQMVv99lsjUr5g=; b=ASI6b6J1q8tlCIwKoWTsYlBCQB argz7EQzfjB/isjv+Mr6K3BYKsx7Z8yx5nwccZVh+av82Ejf3hAHnT01+hSxpw+OsmTtW9YE8DmEY 5saq6y+zGHeam6UC0r+vhPZ/a; Received: from 97-122-110-68.hlrn.qwest.net ([97.122.110.68]:39022 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1v9lCl-00000002NLh-451e; Fri, 17 Oct 2025 08:13:16 -0600 From: Tom Tromey To: Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] [gdb/python] Use PyConfig for python 3.9 In-Reply-To: <20251017133624.2460264-1-tdevries@suse.de> (Tom de Vries's message of "Fri, 17 Oct 2025 15:36:24 +0200") References: <20251017133624.2460264-1-tdevries@suse.de> X-Attribution: Tom Date: Fri, 17 Oct 2025 08:13:14 -0600 Message-ID: <87h5vxr4zp.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.110.68 X-Source-L: No X-Exim-ID: 1v9lCl-00000002NLh-451e X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-110-68.hlrn.qwest.net (bapiya) [97.122.110.68]:39022 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfPTxAXBYVjeq4A+ltoEjqV6kbJj6ZsADKTyiba0jouWlXODLtSPZDcABN7GoNNj47dY9ZK1wCTdQ+NtdA6khe2l2T9gDX6Nhe/wGNaLZub3m8EYYPks5 7ZHgX303Bli7AJiL11+otnmkfg1dNKs0cVBLapBeXFWhSWx7SRJ6N3icn/PA+qPJSUTxy7XOt+fzUMv3Eo0XDh8JqP7OEMNbjv0= 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 >>>>> "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. Approved-By: Tom Tromey Tom