Bugs item #1107258, was opened at 2005-01-22 03:07 Message generated for change (Comment added) made by boredzo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1107258&group_id=5470
Category: Macintosh Group: Python 2.4 Status: Closed Resolution: Invalid Priority: 5 Submitted By: Mac-arena the Bored Zo (boredzo) Assigned to: Brett Cannon (bcannon) Summary: os.pathsep is wrong on Mac OS X Initial Comment: I'm running Python 2.4 on Darwin 7.5 (Mac OS X 10.3.5). os.path.pathsep should be returning '/', since that's what everything that works with paths (the rest of the path module, plus the file class, etc.) expects. and yet it returns ':'. making this even stranger is the fact that repr(os.path) returns the path to posixpath. ---------------------------------------------------------------------- >Comment By: Mac-arena the Bored Zo (boredzo) Date: 2005-02-02 22:01 Message: Logged In: YES user_id=711099 I wasn't suggesting that Darwin shouldn't use posixpath, I was wondering why it would be returning ':' for the path separator. thanks for the explanation. ---------------------------------------------------------------------- Comment By: Brett Cannon (bcannon) Date: 2005-01-22 11:03 Message: Logged In: YES user_id=357491 You are misunderstanding what os.path.pathsep is for. It is the string that separates paths themselves, not parts of a path. It's ':' because that is how you separate paths on Darwin and any UNIX platform (e.g., "/usr/ bin:/usr/local/bin". And because Darwin is UNIX it uses posixpath. Closing as invalid since the setting is right and is not even in the official docs so general usage is not supported. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1107258&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com