This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients alexey-smirnov, amaury.forgeotdarc, georg.brandl, neologix, petri.lehtinen, pitrou, python-dev, socketpair, vstinner
Date 2011-11-01.08:33:01
SpamBayes Score 0.03586472
Marked as misclassified No
Message-id <1320136382.83.0.137731910711.issue12105@psf.upfronthosting.co.za>
In-reply-to
Content
And to be explicit, you can now write:

def open_cloexex(filename, mode='r'):
  return open(filename, mode,
              opener=lambda path, mod: os.open(path, mod|os.O_CLOEXEC))
History
Date User Action Args
2011-11-01 08:33:02amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, pitrou, vstinner, neologix, socketpair, python-dev, petri.lehtinen, alexey-smirnov
2011-11-01 08:33:02amaury.forgeotdarcsetmessageid: <1320136382.83.0.137731910711.issue12105@psf.upfronthosting.co.za>
2011-11-01 08:33:02amaury.forgeotdarclinkissue12105 messages
2011-11-01 08:33:01amaury.forgeotdarccreate