[Python-Dev] Re: Adding 'lexists()' to os.path

"Martin v. Löwis" martin at v.loewis.de
Sun Aug 22 16:58:39 CEST 2004


Paul Moore wrote:
> As an alternative, would there be any value in cacheing the last stat
> result? 

That won't help (in addition to the problems it causes). One of the
stat calls must be stat(2), the other one lstat(2).

Regards,
Martin


More information about the Python-Dev mailing list