[Python-bugs-list] [ python-Bugs-505150 ] mac module documentation inaccuracy.

noreply@sourceforge.net noreply@sourceforge.net
Thu, 17 Jan 2002 15:10:30 -0800


Bugs item #505150, was opened at 2002-01-17 15:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=505150&group_id=5470

Category: Macintosh
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Miller (mrmiller)
Assigned to: Jack Jansen (jackjansen)
Summary: mac module documentation inaccuracy.

Initial Comment:
The documentation at <http://www.python.org/doc/current/mac/module-mac.html> for the
MacPython 2.2 mac module says, in part:

> ==snip==
>> One additional function is available:
>>
>> xstat(path)
>>        This function returns the same information as stat(), 
>> but with three additional values appended: the size of the 
>> resource fork of the file and its
>>        4-character creator and type.
> ==snip==

The xstat() function is available only under PPC MacPython but not under Carbon MacPython.
The documentation should be updated, assuming the ommision was intentional. Ideally, it would 
suggest alternatives for the Carbon version.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=505150&group_id=5470