On Sat, Apr 23, 2016, at 12:29, Nobody wrote: > On Linux, an alternative is to use fchdir() rather than chdir(), which > changes to a directory specified by an open file descriptor
Of course, then there's also the risk of running out of open file descriptors. High-quality implementations of rm will fork to deal with this. -- https://mail.python.org/mailman/listinfo/python-list