[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 5750 - branches/cvs2svn-kfogel/tools/cvs2svn

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-04-29 18:55:25 CEST

Karl Fogel wrote:

>"Jeffrey C. Ollie" <jeff@ollie.clive.ia.us> writes:
>
>
>>Doh! Open mouth, insert foot. Still, there seem to be a lot of places
>>where paths are pulled apart/put together by hand. I think that it would
>>save some headaches later if either the posixpath.* routines (os.path ==
>>posixpath on Unix) or a small set of subroutines were developed to
>>handle all of the path mangling.
>>
>>
>
>Thanks for the tip, Jeff... I don't see `posixpath' documented in the
>Python library reference
>
Not surprising, as posixpath is just the implementation module for
os.path on POSIX systems. The logic looks a bit like this (in os.py):

    if (platform is posix)
       import posixpath
       os.path = posixpath
       del posixpath
    elif ...

I don't know I'd want to depend on an implementation detail, though.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 29 18:56:12 2003

This is an archived mail posted to the Subversion Dev mailing list.