From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by sourceware.org (Postfix) with ESMTPS id 532D73857404 for ; Mon, 21 Mar 2022 15:33:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 532D73857404 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f49.google.com with SMTP id r13so6181445wrr.9 for ; Mon, 21 Mar 2022 08:33:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=mNpa8+zg9DlHbk3kbnR9F3Vq5s5MB2zKupdBC/A4sl0=; b=rNtUW7TwOBqyQDsaorfo4yEbK7l7hoNe6aytr8yBuo5PdCCvz6uZOIdHUgrXpqkBET Gm0rY4mpTxbfrKAFS6M/mrBmQlos5WXOTH9nsPDwYIFX9/fSCjLrTyq1rizEJLH7snZL lpWSnRnPrwBWDuI8SsTRcDrvBh5hxj6W4K0WOGbjRlDUywGneN83KSbVic3LDphYrr8S j0s99zjd6Expd8pSR+CE9Vz21NQBqHyru4EsL3D5q9wlurMK6/ReXFWAIwY2XVRkEROt 2nNgaSwDIWMnZP62gtsnd7xj+jzmemQfbp0JKEMYPAWDKDTIac4WT35tt6iBeipeOrf4 aruQ== X-Gm-Message-State: AOAM530n9gyYF5/jLt0DOcgN1Q5dblIqJdMGS18+Mcnmp6NbI78/KIYY q+dNIKtfWKT8W7LXnCfzNzA= X-Google-Smtp-Source: ABdhPJzU9vzpG5IBskr4LDnEzdYt2NlxSW835HW3PkFIWQ3iOMusbG/OY+fP9OVbBcJCUM51Vx9ang== X-Received: by 2002:a5d:6da9:0:b0:204:16b9:ce7d with SMTP id u9-20020a5d6da9000000b0020416b9ce7dmr3193567wrs.293.1647876807070; Mon, 21 Mar 2022 08:33:27 -0700 (PDT) Received: from ?IPV6:2001:8a0:f924:2600:209d:85e2:409e:8726? ([2001:8a0:f924:2600:209d:85e2:409e:8726]) by smtp.gmail.com with ESMTPSA id q2-20020adff502000000b00203f17d73dbsm9780442wro.12.2022.03.21.08.33.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Mar 2022 08:33:25 -0700 (PDT) Message-ID: <099c15b0-71e1-2249-82b2-d0456ec240b4@palves.net> Date: Mon, 21 Mar 2022 15:33:24 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 1/2] gdb/python: remove Python 2 support Content-Language: en-US To: Simon Marchi , Eli Zaretskii , Simon Marchi Cc: gdb-patches@sourceware.org References: <20220107152921.2858909-1-simon.marchi@polymtl.ca> <20220321144624.1450968-1-simon.marchi@efficios.com> <20220321144624.1450968-2-simon.marchi@efficios.com> <83lex3fj3h.fsf@gnu.org> <89a0c3a3-b891-bdfc-e7cc-7ca628d30f16@simark.ca> From: Pedro Alves In-Reply-To: <89a0c3a3-b891-bdfc-e7cc-7ca628d30f16@simark.ca> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2022 15:33:29 -0000 On 2022-03-21 15:04, Simon Marchi wrote: > On 2022-03-21 10:58, Eli Zaretskii via Gdb-patches wrote: >> Here, I think we should say "only against Python 3", or say "Python 2 >> is not supported as of GDB 13", or something to that effect. Because >> it is otherwise strange to mention Python 3, it sounds "out of the >> blue". > > I'll say "can only be built against Python 3" then. I'd rather not say > "GDB 13", since this text will live for many GDB versions. Updated > locally. We document in gdb/README the minimum supported version, so I think you could drop the "Python 3" reference completely if you wanted. Speaking of which, said gdb/README note should also be updated, as is documents that the oldest supported version is 2.6: `--with-python[=PYTHON]' Build GDB with Python scripting support. (Done by default if libpython is present and found at configure time.) Python makes GDB scripting much more powerful than the restricted CLI scripting language. If your host does not have Python installed, you can find it on `http://www.python.org/download/'. The oldest version of Python supported by GDB is 2.6. The optional argument PYTHON is used to find the Python headers and libraries. It can be either the name of a Python executable, or the name of the directory in which Python is installed.