[Python-bugs-list] [ python-Bugs-585923 ] macfs.FSSpec fails for "new" files

noreply@sourceforge.net noreply@sourceforge.net
Mon, 29 Jul 2002 14:56:24 -0700


Bugs item #585923, was opened at 2002-07-24 15:35
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=585923&group_id=5470

Category: Macintosh
Group: Python 2.3
Status: Open
Resolution: None
Priority: 7
Submitted By: Just van Rossum (jvr)
Assigned to: Jack Jansen (jackjansen)
>Summary: macfs.FSSpec fails for "new" files

Initial Comment:
In the mach-o version of Python on MacOSX, the macfs.FSSpec() 
library function fails for files that don't yet exist.

The problem is caused by (internally) using an FSRef to construct 
the FSSpec: FSRefs can't hold references to non-existent files, 
whereas FSSpecs can.

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

>Comment By: Just van Rossum (jvr)
Date: 2002-07-29 23:56

Message:
Logged In: YES 
user_id=92689

This bug also cause macostools.copy() to fail, making the breakage 
larger than I thought :-(

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

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