[Zope-Coders] Re: [ZC] 162/ 3 Comment "Python errors during installation"

Guido van Rossum guido@python.org
Sun, 20 Jan 2002 17:59:37 -0500


Walt, do you happen to have Python 2.2 installed?

Could it be that somehow the Python 2.2 compileall.py is used?

In 2.2, compileall.py was fixed so that it fails on syntax errors --
this is on purpose, to prevent installing bad code.  We removed the
intentional syntax errors from the test suite.  But if you were to use
the 2.2 compileall.py with a 2.1 distribution, you'd be in trouble.

Otherwise I can't explain what happened.  No 2.1 distribution (or
2.1.1, or 2.1.2) contains the 2.2 changes to compileall.py.

--Guido van Rossum (home page: http://www.python.org/~guido/)