A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-January/123766.html below:

[Python-Dev] PEP 433: second try

[Python-Dev] PEP 433: second try [Python-Dev] PEP 433: second tryVictor Stinner victor.stinner at gmail.com
Wed Jan 30 13:00:52 CET 2013
> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4