Skip Montanaro <skip.montan...@gmail.com>: > os.closerange(fd_low, fd_high) > Close all file descriptors from fd_low (inclusive) to fd_high > (exclusive), ignoring errors. > > Guido's time machine strikes again...
The only problem is that you don't know how high you need to go in general. Marko -- https://mail.python.org/mailman/listinfo/python-list