[Python-ideas] Extend the os.stat() result objects with methods like isfile() and isdir()

Pieter Nagel pieter at nagel.co.za
Fri May 3 17:14:21 CEST 2013


To all the proponents of a file_type() attribute: can you please show
some use-cases for this?

I don't want to complicate the PEP just for some speculative
nice-to-have.

-- 
Pieter Nagel





More information about the Python-ideas mailing list