> Disable inheritance by default > (...) > * It violates the principle of least surprise. Developers using the > os module may expect that Python respects the POSIX standard and so > that close-on-exec flag is not set by default.
Oh, I just saw that Perl is "violating POSIX" since Perl 1: close-on-exec flag in set on new created file descriptors if their number is greater than $SYSTEM_FD_MAX (which is usually 2). So Python would not be the only language providing a convinient default behaviour ;-) (And Ruby 2 will also set close-on-exec by default.) Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com