This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Comments regarding 'macintosh' behaviour wrong for MacOS X
Type: Stage:
Components: Documentation Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, jmfarrow
Priority: normal Keywords:

Created on 2004-12-20 00:01 by jmfarrow, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg23781 - (view) Author: James Matthew Farrow (jmfarrow) Date: 2004-12-20 00:01
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
[ezri:~] jmfarrow% python
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on
Type "help", "copyright", "credits" or "license" for
more information.
>>> import os
>>> os.path.expanduser("~jmfarrow")
msg23782 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2004-12-22 05:43
Logged In: YES 

You're right; "Machintosh" in the docs refer to MacOS 9 and not OS X.  
You can pretty much always view things in terms of UNIX for OS X.  
Should probably go through the docs and double-check all Macintosh 
references, perhaps even rename all "Macintosh" references to "darwin".

As for this specific case, fixed in rev. 1.41 for 2.5 and for 2.4 .
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41347
2004-12-20 00:01:03jmfarrowcreate