At 04:02 PM 7/29/2005 +1000, Ashley Walsh wrote: >Index: pkg_resources.py >=================================================================== >RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/ >pkg_resources.py,v >retrieving revision 1.54 >diff -r1.54 pkg_resources.py >1040c1040 >< 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. _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
