From: Jan Harkes <jaharkes@cs.cmu.edu>
To: "Eric S. Raymond" <esr@thyrsus.com>,
Cameron Simpson <cs@zip.com.au>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org, Christoph Hellwig <hch@caldera.de>,
Keith Owens <kaos@ocs.com.au>,
kbuild-devel@lists.sourceforge.net, torvalds@transmeta.com
Subject: CML2 with python1
Date: Wed, 5 Dec 2001 05:17:34 -0500 [thread overview]
Message-ID: <20011205051734.A22345@cs.cmu.edu> (raw)
In-Reply-To: <20011204120305.A16578@thyrsus.com> <E16BJcB-0002o7-00@the-village.bc.nu> <20011205125938.A21170@zapff.research.canon.com.au> <20011205032954.B4836@thyrsus.com>
In-Reply-To: <20011205032954.B4836@thyrsus.com>
On Wed, Dec 05, 2001 at 03:29:54AM -0500, Eric S. Raymond wrote:
> Cameron Simpson <cs@zip.com.au>:
> > 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
<x> += <y> => <x> = <x> + <y>, and
<string>.<op>(<arg>) => string.<op>(<string>, <arg>)
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
next prev parent reply other threads:[~2001-12-05 10:17 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-03 1:06 Converting the 2.5 kernel to kbuild 2.5 Keith Owens
2001-12-03 1:19 ` [kbuild-devel] " Eric S. Raymond
2001-12-03 2:03 ` Keith Owens
2001-12-04 0:22 ` Dave Jones
2001-12-04 0:52 ` Keith Owens
2001-12-04 11:04 ` David Woodhouse
2001-12-04 11:52 ` Eric S. Raymond
2001-12-04 12:22 ` Alan Cox
2001-12-04 12:21 ` Eric S. Raymond
2001-12-05 11:15 ` Horst von Brand
2001-12-04 12:19 ` Alan Cox
2001-12-04 12:11 ` Christoph Hellwig
2001-12-04 12:28 ` Eric S. Raymond
2001-12-04 12:39 ` Christoph Hellwig
2001-12-04 12:48 ` Eric S. Raymond
2001-12-04 13:00 ` Christoph Hellwig
2001-12-04 13:16 ` Eric S. Raymond
2001-12-04 13:29 ` Christoph Hellwig
2001-12-04 15:40 ` Tom Rini
2001-12-04 16:11 ` Eric S. Raymond
2001-12-04 16:33 ` Matthias Andree
2001-12-04 17:03 ` Eric S. Raymond
2001-12-04 17:38 ` Giacomo Catenazzi
2001-12-04 17:36 ` Eric S. Raymond
2001-12-04 19:03 ` Rik van Riel
2001-12-04 19:04 ` Eric S. Raymond
2001-12-04 17:43 ` Dave Jones
2001-12-04 19:48 ` David Weinehall
2001-12-04 19:53 ` Dave Jones
2001-12-04 20:03 ` David Weinehall
2001-12-04 19:57 ` Mike Castle
2001-12-04 19:59 ` Edward Muller
2001-12-04 20:11 ` Dave Jones
2001-12-04 20:20 ` Alan Cox
2001-12-04 21:03 ` Edward Muller
2001-12-04 22:10 ` Trevor Smith
2001-12-04 22:26 ` Alan Cox
2001-12-04 20:20 ` Richard B. Johnson
2001-12-05 3:14 ` John Cowan
2001-12-05 4:36 ` Mike Fedyk
2001-12-05 14:54 ` Rob Landley
2001-12-05 14:51 ` Rob Landley
2001-12-06 0:37 ` Dave Jones
2001-12-06 16:49 ` Rik van Riel
2001-12-06 9:57 ` Rob Landley
2001-12-06 16:59 ` John Stoffel
2001-12-06 17:25 ` Alan Cox
2001-12-06 10:03 ` Rob Landley
2001-12-07 0:06 ` Keith Owens
2001-12-07 0:57 ` Eric S. Raymond
2001-12-06 20:24 ` [kbuild-devel] Converting the 2.4 " Rob Landley
2001-12-07 1:44 ` [kbuild-devel] Converting the 2.5 " Tom Rini
2001-12-06 18:30 ` John Stoffel
2001-12-06 18:51 ` Horst von Brand
2001-12-06 18:59 ` David Weinehall
2001-12-06 19:14 ` Matthias Andree
2001-12-06 22:17 ` John Cowan
2001-12-07 14:44 ` Horst von Brand
2001-12-07 15:56 ` John Alvord
2001-12-10 9:55 ` Matthias Andree
2001-12-07 18:12 ` Kai Henningsen
2001-12-07 0:58 ` Eric S. Raymond
2001-12-06 18:07 ` Martin Dalecki
2001-12-06 18:22 ` David Weinehall
2001-12-06 19:10 ` Matthias Andree
2001-12-04 17:44 ` Alan Cox
2001-12-05 1:59 ` Cameron Simpson
2001-12-05 8:29 ` Eric S. Raymond
2001-12-05 10:17 ` Jan Harkes [this message]
2001-12-12 7:17 ` CML2 with python1 Eric S. Raymond
2001-12-14 12:50 ` Pavel Machek
2001-12-04 17:15 ` [kbuild-devel] Converting the 2.5 kernel to kbuild 2.5 Alan Cox
2001-12-04 17:19 ` Eric S. Raymond
2001-12-04 17:30 ` Martin Dalecki
2001-12-04 17:43 ` Christoph Hellwig
2001-12-04 17:42 ` Alan Cox
2001-12-04 17:38 ` Eric S. Raymond
2001-12-04 18:01 ` Alan Cox
2001-12-04 18:47 ` Robert Love
2001-12-04 19:28 ` Bernhard Rosenkraenzer
2001-12-04 17:20 ` Matthias Andree
2001-12-04 17:27 ` Martin Dalecki
2001-12-04 18:13 ` Tom Rini
2001-12-04 18:26 ` Alan Cox
2001-12-04 18:27 ` Tom Rini
2001-12-04 19:19 ` Stefan Smietanowski
2001-12-04 19:24 ` Tom Rini
2001-12-05 11:06 ` Martin Dalecki
2001-12-04 16:41 ` David Woodhouse
2001-12-04 16:52 ` Giacomo Catenazzi
2001-12-04 17:06 ` Eric S. Raymond
2001-12-04 17:15 ` David Woodhouse
2001-12-04 17:50 ` Daniel Phillips
2001-12-05 1:17 ` Daniel Phillips
2001-12-04 17:02 ` David Woodhouse
2001-12-04 17:07 ` Eric S. Raymond
2001-12-04 17:08 ` Eric S. Raymond
2001-12-04 17:19 ` David Woodhouse
2001-12-04 17:34 ` Eric S. Raymond
2001-12-04 16:31 ` John Stoffel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011205051734.A22345@cs.cmu.edu \
--to=jaharkes@cs.cmu.edu \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=cs@zip.com.au \
--cc=esr@thyrsus.com \
--cc=hch@caldera.de \
--cc=kaos@ocs.com.au \
--cc=kbuild-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox