(original) (raw)
Hi,
I think the complaint is not so much about simplicity, but correctness.
close\_fd also closes stdin/stdout/stderr, which might be undesirable
and differs from POSIX.
According to the docs, stdin/stdout and stderr are not closed ( http://docs.python.org/lib/node529.html)
Matthieu