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

R. David Murray rdmurray at bitdance.com
Sun Jan 27 21:42:08 CET 2013


On Sun, 27 Jan 2013 19:42:59 +0100, Ralf Schmitt <ralf at systemexit.de> wrote:

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

> It's like calling socket.settimeout(0.1) and then complaining that > urllib.urlopen() raises exceptions but that's not what's happening. you'll see urllib.urlopen raising exceptions and only afterwards realize that you called into some third party library code that decided to change the timeout.

What is stopping some some third party library code from calling socket.settimeout(0.1)?

--David



More information about the Python-Dev mailing list