From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by sourceware.org (Postfix) with ESMTPS id 62DAC3850419 for ; Fri, 18 Sep 2020 17:35:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 62DAC3850419 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=alves.ped@gmail.com Received: by mail-wr1-f45.google.com with SMTP id t10so6450849wrv.1 for ; Fri, 18 Sep 2020 10:35:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=i390PfGBVKhoQzNQXwvHd5Kh5zqWIWNWhQqgpgNu1gM=; b=EtQP4G69wXQjzx12myRH0CyXLmFjHKhqA2f3dNHdPqn3S3jpeg2HSuB9RIK5dy7fJh eg6uzrcRaPIv9eT2Oh99S5qrC1OGO3TVJP/3St1vZYuwiOW2r8WsU1d8HqvAujY+14NF GyciF4SBIvtm8PDTQenBGecW/8GqbdD6jOw6uRFAQliKqtlHHLsdJO6/+kh7N/UjCT8A uS/Wyl/HRdAIDqO/T83AL/koz+0ey14VjY/TUcBlqGegAxWjs4SrQwj/5pkVmtCcsDVy XTh9JYMiZPCosIpFDe47+MKCEF0dLLjVfsgQSMEsOc7JtXjvcjr9JPzy/fHGFed2bTCW WoVQ== X-Gm-Message-State: AOAM532ZkTxJfyEggLHahzTLieveqV1zOX0MEMEu3PzbquojFA7JqyUe DoiH1T5RuQrq6tgdasEyALGy/2Cu776SMQ== X-Google-Smtp-Source: ABdhPJwNZZRcjY3av0vyer5Xn13w5/DND3X/nAZLXsqo8+dhTgOctXuq1Qr5j1SoglMOX6+LP/Q5Pw== X-Received: by 2002:adf:f88b:: with SMTP id u11mr37652129wrp.376.1600450518740; Fri, 18 Sep 2020 10:35:18 -0700 (PDT) Received: from ?IPv6:2001:8a0:f905:5600:eefd:c63:53e0:3e8a? ([2001:8a0:f905:5600:eefd:c63:53e0:3e8a]) by smtp.gmail.com with ESMTPSA id i83sm6418024wma.22.2020.09.18.10.35.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Sep 2020 10:35:17 -0700 (PDT) Subject: Re: Proposal to remove Python 2 support To: Mikhail.Terekhov@dell.com, tom@tromey.com References: <87sgbiahur.fsf@tromey.com> <69983932-3cc8-a43e-f96a-98730e20ef59@redhat.com> <9cc41863810d45108985c68f57a3013c@x13pwdurdag1107.AMER.DELL.COM> <87pn6j58j9.fsf@tromey.com> Cc: gdb@sourceware.org From: Pedro Alves Message-ID: Date: Fri, 18 Sep 2020 18:35:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 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 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 17:35:21 -0000 On 9/18/20 6:13 PM, Mikhail.Terekhov--- via Gdb wrote: >> From: Gdb On Behalf Of Tom Tromey >> >> Pedro> Dropping Python 2 support is going to be an issue for us, given >> Pedro> we will still have a couple years more of DTS releases for RHEL >> Pedro> 7, which is Python 2.7 based. >> >>>> RHEL 7 comes with Python 3.6 as well. >> >> I think the issue must be that gdb is built against Python 2 on RHEL 7. > > If they would want to update to the new major version of gdb they would build it with Python3. What is the problem? It would break compatibility with pretty printers, user scripts, and require Python3 versions of Python libraries scripts may load. Pedro Alves