[Pythonmac-SIG] Mac and unix pathnames

Donovan Preston dp@ulaluma.com
Mon, 21 Jan 2002 09:37:59 -0800


Same conclusion I came to when implementing the same thing, Jack. The 
patch is in the patch manager.

Donovan

On Monday, January 21, 2002, at 02:02 AM, Jack Jansen wrote:

> Folks,
> I started implementing the changes to macfs.FSRef() and FSSpec() and 
> the as_pathname() methods to allow an optional parameter (either "mac" 
> or "unix") to specify which style pathnames you want, but the more I 
> think about it the more I think this isn't the right solution after 
> all. [*]
>
> I think we should simply always use "native" pathnames, i.e. 
> colon-separated pathnames in MacPython and unix-pathnames in 
> MachoPython. All the use-cases for "other" pathnames I could think of 
> are really a question of sloppy programming to begin with. If you 
> disagree and can come up with valid (and common) use cases let me know. 
> If the use cases are not all that common I think I prefer to add a 
> special Python module that will do the conversion in stead of bogging 
> down the core with it.
>
> [*] Read: implementing it turned out to be more difficult than 
> expected:-)
> --
> - Jack Jansen        <Jack.Jansen@oratrix.com>        
> http://www.cwi.nl/~jack -
> - If I can't dance I don't want to be part of your revolution -- Emma 
> Goldman -
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig