[Python-Dev] PEP 433: Choose the default value of the new cloexec parameter

Ralf Schmitt ralf at systemexit.de
Tue Jan 29 01:17:35 CET 2013


Guido van Rossum <guido at python.org> writes:

>
> On Mon, Jan 28, 2013 at 1:56 PM, Ralf Schmitt <ralf at systemexit.de> wrote:
>
>> Guido van Rossum <guido at python.org> writes:
>>
>> > Yeah, so the answer to all this is that 3rd party libraries know better
>> > than to mess with global settings.
>>
>> Right. But why make it configurable at runtime then? If you're changing
>> the value, then you're the one probably breaking third party code.
>
> Sigh. This is getting exasperating. There's other code that might want to
> change this besides 3rd party library code. E.g. app configuration code.

So, third party library code should know better, while at the same time
it's fine to mess with global settings from app configuration code.

That does not make sense.


More information about the Python-Dev mailing list