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/123760.html below:

Choose the default value of the new cloexec parameter

[Python-Dev] PEP 433: Choose the default value of the new cloexec parameter [Python-Dev] PEP 433: Choose the default value of the new cloexec parameterRalf Schmitt ralf at systemexit.de
Tue Jan 29 11:24:49 CET 2013
Antoine Pitrou <solipsis at pitrou.net> writes:

> Le Tue, 29 Jan 2013 09:35:40 +0100,
> Ralf Schmitt <ralf at systemexit.de> a écrit :
>> 
>> I'd rather not have to check if some library messes with that global
>> setting and work around it if it does!
>
> Then just don't try changing the flag. Problem solved.

I was talking about some library changing the flag. Not changing the
flag myself doesn't help in that case. I'll probably have to explicitly
pass a cloexec argument to each fd creating function I'm calling in
order to not be dependent on the global setting.

Please just acknowledge that having a global configurable setting may
lead to problems. Why is sys.setdefaultencoding being hidden in python
2?
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