[Python-ideas] PEP: Extended stat_result (First Draft)

Ethan Furman ethan at stoneleaf.us
Mon May 6 20:57:51 CEST 2013


On 05/06/2013 10:49 AM, Pieter Nagel wrote:
>
> The motivation is to make "performant" code that calls stat() once look
> more similar to naive code that potentially calls it many times. And if
> naive code can say "os.path.isfile(f)" and get False even when f does
> not exist, then performant code should be able to do something similar
> by just statting and then interogating the results, without adding
> exception handling.

+1



More information about the Python-ideas mailing list