On Nov 1, 2006, at 8:07 PM, Josiah Carlson wrote:
Oleg Broytmann <[EMAIL PROTECTED]> 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 continuedexistance of macpath.py is either a mistake, or a kindness to those whostill 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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
