From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-c1p-024060.sys.comcast.net (resqmta-c1p-024060.sys.comcast.net [IPv6:2001:558:fd00:56::3]) by sourceware.org (Postfix) with ESMTPS id 396AF3857C59 for ; Fri, 7 Jan 2022 15:33:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 396AF3857C59 Received: from resomta-c1p-023411.sys.comcast.net ([96.102.18.231]) by resqmta-c1p-024060.sys.comcast.net with ESMTP id 5phDnQ5bXBMyY5rFjngsx3; Fri, 07 Jan 2022 15:34:03 +0000 Received: from smtpclient.apple ([73.60.223.101]) by resomta-c1p-023411.sys.comcast.net with ESMTPSA id 5rFEn05irLl6p5rFFnqmsP; Fri, 07 Jan 2022 15:33:33 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvuddrudegvddgheefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephfgtgfgguffffhfvjgfkofesthhqmhdthhdtvdenucfhrhhomheprfgruhhlucfmohhnihhnghcuoehprghulhhkohhnihhnghestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepudelheeigfffhfdtveetjeeufffgveeuvdevfeevgfeukeefffeiveffuddvjeffnecuffhomhgrihhnpehsohhurhgtvgifrghrvgdrohhrghenucfkphepjeefrdeitddrvddvfedruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpihhnvghtpeejfedriedtrddvvdefrddutddupdhmrghilhhfrhhomhepphgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepshhimhhonhdrmhgrrhgthhhisehpohhlhihmthhlrdgtrgdprhgtphhtthhopehguggsqdhprghttghhvghssehsohhurhgtvgifrghrvgdrohhrgh X-Xfinity-VMeta: sc=-100.00;st=legit From: Paul Koning Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [PATCH 1/3] gdb/python: remove Python 2 support Date: Fri, 7 Jan 2022 10:33:33 -0500 References: <20220107152921.2858909-1-simon.marchi@polymtl.ca> To: Simon Marchi , "gdb-patches@sourceware.org" In-Reply-To: <20220107152921.2858909-1-simon.marchi@polymtl.ca> Message-Id: <70D21D56-32F2-437C-AB7A-2093F2C6BFD2@comcast.net> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, JMQ_SPF_NEUTRAL, SPF_HELO_NONE, SPF_PASS, TXREP 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: Fri, 07 Jan 2022 15:33:58 -0000 > On Jan 7, 2022, at 10:29 AM, Simon Marchi via Gdb-patches = wrote: >=20 > Support for Python 2 is a maintenance burden for any patches touching > Python support. Among others, the differences between Python 2 and 3 > string and integer types are subtle. It requires a lot of effort and > thinking to get something that behaves correctly on both. And that's = if > the author and reviewer of the patch even remember to test with Python > 2. >=20 > See this thread for an example: >=20 > = https://sourceware.org/pipermail/gdb-patches/2021-December/184260.html >=20 > I therefore propose to drop Python 2 support. I know that a few > maintainers have given their informal support for this (on IRC and the > mailing list). It sounds like a good change to me. > ... > I did not update the configure script more than just removing the > explicit references to Python 2. We could maybe do more there, like > check the Python version and reject it if that version is not > supported.=20 How hard is that? It seems worth having such a check. paul