[Python-3000] Path Reform: Get the ball rolling
Ronald Oussoren
ronaldoussoren at mac.com
Thu Nov 2 08:40:18 CET 2006
On Nov 1, 2006, at 8:07 PM, Josiah Carlson wrote:
>
> Oleg Broytmann <phd at phd.pp.ru> wrote:
>>
>> On Wed, Nov 01, 2006 at 08:32:08AM -0800, Josiah Carlson wrote:
>>>> p = path.normpath(path.join(__file__, os.pardir, os.pardir, "lib"))
>>>
>>> What operating systems that Python currently supports doesn't
>>> have ".."
>>> mean "parent directory"?
>>
>> macpath.py defines pardir = '::'. MacOS 9, probably.
>
> MacOS 9 isn't a supported platform for Python anymore. The continued
> existance of macpath.py is either a mistake, or a kindness to those
> who
> still use OS 9.
Classic MacOS paths are still used by Carbon applications on Mac OS X
and by AppleScript, which means there's still a need to use macpath
sometimes (especially for the application scripting).
Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3562 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20061102/ed3625c9/attachment.bin
More information about the Python-3000
mailing list