[Python-Dev] Compiling the source without stat (original) (raw)

Terry Reedy tjreedy at udel.edu
Wed Dec 14 21:29:43 CET 2011


On 12/14/2011 2:26 PM, Petri Lehtinen wrote:

The problem boils down to the fact that you cannot really check whether a filesystem entry is a directory without calling stat() or fstat().

My personal opinion is that support for DONTHAVESTAT and DONTHAVEFSTAT defines should be dropped because they don't work, and would only be useful in a very limited set of cases.

At present, it seems to be an attractive nuisance, tempting people like Hossein to try something that does not work.

-- Terry Jan Reedy



More information about the Python-Dev mailing list