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

"Martin v. Löwis" martin at v.loewis.de
Fri Dec 16 00:16:29 CET 2011


Am 15.12.2011 12:59, schrieb Hossein:

I wanted to say something in the bug page petri showed ( http://bugs.python.org/issue12082 ) however I though about first discussing it here. If faking a stat struct and a function to fill it solves the problem, and checking for existing files and folders is the only thing that python needs to be compiled (i'm talking about 2.7) then it's possible to fail-check it by just trying to open the file.

That's not true. It also looks at the file modification time.

Regards, Martin



More information about the Python-Dev mailing list