Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Dec 2001 05:17:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Dec 2001 05:17:47 -0500 Received: from ASYNC8-CS2.NET.CS.CMU.EDU ([128.2.188.152]:15634 "EHLO mentor.odyssey.cs.cmu.edu") by vger.kernel.org with ESMTP id ; Wed, 5 Dec 2001 05:17:33 -0500 Date: Wed, 5 Dec 2001 05:17:34 -0500 To: "Eric S. Raymond" , Cameron Simpson , Alan Cox , linux-kernel@vger.kernel.org, Christoph Hellwig , Keith Owens , kbuild-devel@lists.sourceforge.net, torvalds@transmeta.com Subject: CML2 with python1 Message-ID: <20011205051734.A22345@cs.cmu.edu> Mail-Followup-To: "Eric S. Raymond" , Cameron Simpson , Alan Cox , linux-kernel@vger.kernel.org, Christoph Hellwig , Keith Owens , kbuild-devel@lists.sourceforge.net, torvalds@transmeta.com In-Reply-To: <20011204120305.A16578@thyrsus.com> <20011205125938.A21170@zapff.research.canon.com.au> <20011205032954.B4836@thyrsus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011205032954.B4836@thyrsus.com> User-Agent: Mutt/1.3.23i From: Jan Harkes Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 05, 2001 at 03:29:54AM -0500, Eric S. Raymond wrote: > Cameron Simpson : > > ESR, is it practical to have CML2 transcribe a CML1 config file? > > No, alas. But it _is_ entirely practical to run CML2 with a bog-standard python 1.5 interpreter. I just did a search/replace for the python2-ism's like += => = + , and .() => string.(, ) Worked around some missing functionality in the older shlex and curses modules and I can now use oldconfig, menuconfig, xconfig, and cmladvent with CML2 and a python1 interpreter. It also still works fine with python2 as well. http://ravel.coda.cs.cmu.edu/cml2-1.9.4-python1.patch (36K) 36K might sound like a lot, but given the fact that the CML python sources totals about 280KB, it is a pretty small diff, and the whole "but python2 isn't standard in distributions and the license is bad" argument can be dropped and we can get on with life. Jan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/