Bugs item #1088119, was opened at 2004-12-19 19:01 Message generated for change (Settings changed) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1088119&group_id=5470
Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Submitted By: James Matthew Farrow (jmfarrow) >Assigned to: Brett Cannon (bcannon) Summary: Comments regarding 'macintosh' behaviour wrong for MacOS X Initial Comment: Comments in the documentation regarding the behaviour on the Macintosh appear to be referring to the behaviour under MacOS 9 and the behaviour under MacOS X is different. For example, the documentation (for at least 2.3.4 and 2.4) for os.path.expanduser states "On the Macintosh, this always returns path unchanged." Under MacOS X (the example below is for 10.3.7) this is not true: [ezri:~] jmfarrow% uname -a Darwin ezri.internal 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov 7 16:06:51 PST 2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC Power Macintosh powerpc [ezri:~] jmfarrow% python Python 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.path.expanduser("~jmfarrow") '/Users/jmfarrow' ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1088119&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com