[Tutor] Re: [Pythonmac-SIG] Re: recursive memory

Jack Jansen Jack.Jansen@cwi.nl
Wed, 17 Apr 2002 10:57:42 +0200


Sorry, hit send too quickly.

On Tuesday, April 16, 2002, at 03:56 , Christopher Smith wrote:
> If these undesirable behaviors were deemed bugs then the macpath.walk()
> function could just be modified.  I have attached a version which has 
> the
> same behavior as the original but now has 3 optional arguments to handle
> walking aliases, other volumes, and a dictionary to prevent walking
> previously walked folders.

Hmm. I don't think this is a good idea, because macpath == os.path. And 
the API of all the os.path modules (macpath, winpath, posixpath) is kept 
the same (with some historic exceptions:-).

I will pick up the islink() mod, though.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -