[Python-Dev] PEP 433: Add cloexec argument to functions creating file descriptors
Glenn Linderman
v+python at g.nevcal.com
Mon Jan 14 03:19:47 CET 2013
On 1/13/2013 5:49 AM, Nick Coghlan wrote:
> I agree it makes it obvious what the right default behaviour should
> be: flag every FD as sensitive by default, and pass an argument to say
> "sensitive=False" when you want to disable Python's automatic
> protections.
"sensitive" is a bad name... because the data passed via an open
descriptor that _should_ be passed may well be sensitive, so saying
sensitive=False is false... it's just necessary to leave the descriptor
open to make things work...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130113/e45a3a68/attachment.html>
More information about the Python-Dev
mailing list