[Distutils] bugs in 0.6a0

Phillip J. Eby pje at telecommunity.com
Fri Jul 29 17:32:54 CEST 2005

At 04:02 PM 7/29/2005 +1000, Ashley Walsh wrote:
>Index: pkg_resources.py
>RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/
>retrieving revision 1.54
>diff -r1.54 pkg_resources.py
><             return fspath[len(self.zip_pre):]
>  >             return fspath[len(self.zip_pre):].replace(os.sep, '/')

What problem is this change intended to correct?  AFAIK, the zipinfo cache 
created by zipimport uses os.sep in its internal paths, which is why I was 
deliberately *not* replacing os.sep with a '/', and the rest of the code 
depends on this as far as I know.

>Hope this helps.

Thanks.  The others look correct, I just wonder about that one above.

More information about the Distutils-SIG mailing list