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 Arfrever, David.Townshend, Julian, amaury.forgeotdarc, benjamin.peterson, docs@python, neologix, pitrou, vstinner
Date 2011-10-31.10:32:10
SpamBayes Score 0.024936577
Marked as misclassified No
Message-id <1320057131.67.0.966689497472.issue12760@psf.upfronthosting.co.za>
In-reply-to
Content
issue12797 would allow things like:

def create_exclusive_file(filename):
  return open(filename, "w",
              opener=lambda path, mode: os.open(path, mode|os.O_CREAT|os.O_EXCL))
History
Date User Action Args
2011-10-31 10:32:11amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, pitrou, vstinner, benjamin.peterson, Arfrever, neologix, docs@python, Julian, David.Townshend
2011-10-31 10:32:11amaury.forgeotdarcsetmessageid: <1320057131.67.0.966689497472.issue12760@psf.upfronthosting.co.za>
2011-10-31 10:32:11amaury.forgeotdarclinkissue12760 messages
2011-10-31 10:32:11amaury.forgeotdarccreate