[Python-bugs-list] [ python-Bugs-545388 ] walk() walks aliases
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 22 Apr 2002 06:58:25 -0700
Bugs item #545388, was opened at 2002-04-18 00:09
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=545388&group_id=5470
Category: Macintosh
Group: Platform-specific
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Christopher Smith (smichr)
Assigned to: Jack Jansen (jackjansen)
Summary: walk() walks aliases
Initial Comment:
>> macpath.walk() (or actually os.path.walk) is
explicitly define *not* to
>> do special things for symlinks or aliases. But
still: the functionality
>> is nice, so maybe we should put it in a new
function macostools.walk.
>
> By "special things" you don't mean that walk() is
suppose to skip over
> aliases, do you?
Yes, that's what I mean. Do I understand from your
comment that it walks
aliases? That would be a bug, please file it at
sourceforge.
-----
I am just filing the above correspondence as a
reminder that walk() in macpath walks aliases.
/c
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2002-04-22 15:58
Message:
Logged In: YES
user_id=45365
Fixed in macpath.py 1.36, which also includes your islink() fix and an equivalent of your resolve() function. The last as realpath(), which is an API alias available in posixpath and others.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=545388&group_id=5470