[Python-Dev] Proto-PEP for maintaining backward compatibility

Guido van Rossum guido@python.org
Thu, 06 Jun 2002 15:10:52 -0400


> > Can you elaborate?  Can't you include the last version of
> > modulefinder.py that supports 1.5.2 in your py2exe distro?  Or run
> > py2exe with a 1.5.2 python?  It seems to me that modulefinder.py
> > depends on the dis.py module of the current Python -- how can you use
> > a modulefinder.py from Python 2.x for a Python 1.5.2 program?
> > 
> First, I want to use a version-independend modulefinder in py2exe,
> if possible.
> Second, it seems to work from 1.5.2 up to 2.2, currently. Except
> for a single use of a string method someone overlooked probably,
> see http://www.python.org/sf/564840.
> 
> modulefinder simply uses some opnames from dis, and all seem to be
> present already in 1.5.2.

So why can't you include a copy of modulefinder.py in your distro?
You seem to be using it beyond its intended use.

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