From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-05v.sys.comcast.net (resqmta-ch2-05v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:37]) by sourceware.org (Postfix) with ESMTPS id F405F397249F for ; Tue, 15 Sep 2020 20:58:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F405F397249F Received: from resomta-ch2-10v.sys.comcast.net ([69.252.207.106]) by resqmta-ch2-05v.sys.comcast.net with ESMTP id II24kNcP4HdxAII2Vk96Jp; Tue, 15 Sep 2020 20:58:59 +0000 Received: from pkoning.akdesign.com ([73.60.223.101]) by resomta-ch2-10v.sys.comcast.net with ESMTPSA id II2Rk7rDg6ocUII2TkYP98; Tue, 15 Sep 2020 20:58:58 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedujedrtddtgdduvdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucenucfjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpefrrghulhcumfhonhhinhhguceophgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeeuteeulefhudevlefgfeduudeklefhfeevlefgffeiudejveeiueejudeffeelfeenucffohhmrghinhepphihthhhohhnrdhorhhgnecukfhppeejfedriedtrddvvdefrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepphhkohhnihhnghdrrghkuggvshhighhnrdgtohhmpdhinhgvthepjeefrdeitddrvddvfedruddtuddpmhgrihhlfhhrohhmpehprghulhhkohhnihhnghestghomhgtrghsthdrnhgvthdprhgtphhtthhopehtohhmsehtrhhomhgvhidrtghomhdprhgtphhtthhopehguggssehsohhurhgtvgifrghrvgdrohhrgh X-Xfinity-VMeta: sc=0.00;st=legit Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: Proposal to remove Python 2 support From: Paul Koning In-Reply-To: <87sgbiahur.fsf@tromey.com> Date: Tue, 15 Sep 2020 16:58:52 -0400 Cc: gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <3415E02F-C35C-4C72-8C9A-C141E024F3AC@comcast.net> References: <87sgbiahur.fsf@tromey.com> To: Tom Tromey X-Mailer: Apple Mail (2.3445.104.15) X-Spam-Status: No, score=-3.1 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.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: Tue, 15 Sep 2020 20:59:01 -0000 > On Sep 15, 2020, at 4:46 PM, Tom Tromey wrote: >=20 > Hi. Python 2 officially reached its sunset date this year: >=20 > https://www.python.org/doc/sunset-python-2/ >=20 > I think gdb should follow suit starting in gdb 11 -- that is, my > proposal is to keep Python 2 support for the upcoming gdb 10 release, > but remove said support from git master. >=20 > In the short term this would amount to some relatively minor code > cleanups. That makes sense to me. > In the longer term, my preferred approach to handling inferior control > from Python is to base it on async/await, which IIUC is only available > in Python 3. So, this would be an enabling step. "await" appears in Python 3.5. Do you want to drop support for 3.4 and = earlier? I guess they are no longer supported so that is arguably a = valid thing to do, but I wonder how many packaged OS releases still come = with versions that old. paul