[Compiler-sig] Update to compiler for Python 2.0

Jeremy Hylton jeremy@beopen.com
Wed, 11 Oct 2000 19:40:11 -0400 (EDT)


Mark,

One question that Neil Schemenauer raised (privately I think) is
whether the compiler package in 2.0 should be compatible with earlier
versions of Python.  I see that the changes you have made will allow
the code to run with Python 1.5.2.  How important is this?

I am planning to implement the new features introduced in 2.0, like
augmented assignment and list comprehensions.  It's not clear that I
can do this without introducing a dependency on 2.0.

If it is important to have pre-2.0 compatibility, how should we
maintain the code?  I imagine either a separate SF project with just
that code or a set of subclasses that can be used with old versions of
Python.  Do either of these make sense?

Jeremy