[Python-Dev] HAVE_FSTAT?

Benjamin Peterson benjamin at python.org
Fri May 17 15:56:55 CEST 2013

2013/5/17 Antoine Pitrou <solipsis at pitrou.net>:
> Hello,
> Some pieces of code are still guarded by:
> #ifdef HAVE_FSTAT
>   ...
> #endif
> I would expect all systems to have fstat() these days. It's pretty
> basic POSIX, and even Windows has had it for ages. Shouldn't we simply
> make those code blocks unconditional? It would avoid having to maintain
> unused fallback paths.


(Maybe Snakebite has such an exotic system, though?) :)


More information about the Python-Dev mailing list