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 giampaolo.rodola
Recipients dmoore, ezio.melotti, georg.brandl, giampaolo.rodola
Date 2013-11-04.18:38:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383590334.18.0.120122520788.issue19495@psf.upfronthosting.co.za>
In-reply-to
Content
I think I have already proposed something similar in past but I can't find any reference on the tracker (so maybe I didn't after all).
BTW I have something like this [1] in a "utils" module I use across different projects and I would definitively welcome an inclusion in the stdlib.

[1] a modified version of http://dabeaz.blogspot.it/2010/02/function-that-works-as-context-manager.html
History
Date User Action Args
2013-11-04 18:38:54giampaolo.rodolasetrecipients: + giampaolo.rodola, georg.brandl, ezio.melotti, dmoore
2013-11-04 18:38:54giampaolo.rodolasetmessageid: <1383590334.18.0.120122520788.issue19495@psf.upfronthosting.co.za>
2013-11-04 18:38:54giampaolo.rodolalinkissue19495 messages
2013-11-04 18:38:54giampaolo.rodolacreate