From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resdmta-ch2-02v.sys.comcast.net (resdmta-ch2-02v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:82]) by sourceware.org (Postfix) with ESMTPS id 6D604386103B for ; Wed, 16 Sep 2020 15:03:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6D604386103B Received: from resqmta-ch2-10v.sys.comcast.net ([69.252.207.42]) by resqmta-ch2-12v.sys.comcast.net with ESMTP id IYWbkrqLM0dIXIYxvkhEGr; Wed, 16 Sep 2020 15:03:23 +0000 Received: from resomta-ch2-17v.sys.comcast.net ([69.252.207.113]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id IY75kCwQHsgydIYxvk4gN7; Wed, 16 Sep 2020 15:03:23 +0000 Received: from pkoning.akdesign.com ([73.60.223.101]) by resomta-ch2-17v.sys.comcast.net with ESMTPSA id IYxrkIRe91kcJIYxtkJfZ6; Wed, 16 Sep 2020 15:03:22 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedujedrtddvgdekgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpefrrghulhcumfhonhhinhhguceophgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedvtdevjeeuhefhiedvteffjeeuffehkefgudeutdevffefkeeijeelfeevuefhgeenucfkphepjeefrdeitddrvddvfedruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehpkhhonhhinhhgrdgrkhguvghsihhgnhdrtghomhdpihhnvghtpeejfedriedtrddvvdefrddutddupdhmrghilhhfrhhomhepphgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtpdhrtghpthhtoheprghnughrvgifrdgsuhhrghgvshhssegvmhgsvggtohhsmhdrtghomhdprhgtphhtthhopegsrhhosggvtghkvghrsegruggrtghorhgvrdgtohhmpdhrtghpthhtohepfhgvughorhgpqhgusehmrghilhdrrhhupdhrtghpthhtohepthhomhesthhrohhmvgihrdgtohhmpdhrtghpthhtohepghgusgesshhouhhrtggvfigrrhgvrdhorhhg X-Xfinity-VMeta: sc=-100.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: <20200916135312.GB3030@embecosm.com> Date: Wed, 16 Sep 2020 11:03:15 -0400 Cc: Joel Brobecker , fedor_qd@mail.ru, Tom Tromey , gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <87sgbiahur.fsf@tromey.com> <3415E02F-C35C-4C72-8C9A-C141E024F3AC@comcast.net> <1600210499.574691995@f12.my.com> <20200916130013.GC5797@adacore.com> <20200916135312.GB3030@embecosm.com> To: Andrew Burgess X-Mailer: Apple Mail (2.3445.104.15) X-Spam-Status: No, score=-3.0 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: Wed, 16 Sep 2020 15:03:26 -0000 > On Sep 16, 2020, at 9:53 AM, Andrew Burgess = wrote: >=20 > * Joel Brobecker [2020-09-16 06:00:13 -0700]: >=20 >>> That has no sense for me because Python 2 doesn't disappear from = distros. >>=20 >> I don't know how long this is going to be True, but "distros" have >> been shipping Python 3.x for quite a while now, so lack of Python 2 >> support wouldn't prevent you from building GDB with Python support >> enabled. >=20 > But a user might potentially have a significant body of Python 2 code > that they run through GDB, so it's not as simple as "just" building > with Python 3 and off they go. An interesting experiment would be to take some significant Python 2 = based GDB scripts and see (a) if they run unchanged with Python 3, (b) = if they run correctly if processed through the 2to3 tool. For many situations it's easy to write a bilingual Python script, and in = scripts that don't use "print" statements the differences are often tiny = or non-existent. paul