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.

classification
Title: walk() walks aliases
Type: Stage:
Components: macOS Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: jackjansen, smichr
Priority: normal Keywords:

Created on 2002-04-17 22:09 by smichr, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg10388 - (view) Author: Christopher Smith (smichr) Date: 2002-04-17 22:09
>> 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
msg10389 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2002-04-22 13:58
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.
History
Date User Action Args
2022-04-10 16:05:14adminsetgithub: 36453
2002-04-17 22:09:14smichrcreate