Author pitrou
Recipients eric.araujo, giampaolo.rodola, gvanrossum, pitrou
Date 2013-02-11.19:09:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360609594.3569.1.camel@localhost.localdomain>
In-reply-to <CAP7+vJ+QXCFfDhEf4AuOQVHq-mP8SbrMfQuP=3=Aai2qEGPDxQ@mail.gmail.com>
Content
> Antoine, what about the decorator? I've come across a few use cases.

I don't know, I'm thinking that "there should be one obvious way to do
it" :-)
By that I mean that the context manager is more generic than the
decorator. Or do you want to decorate functions from an external
library?
History
Date User Action Args
2013-02-11 19:09:43pitrousetrecipients: + pitrou, gvanrossum, giampaolo.rodola, eric.araujo
2013-02-11 19:09:43pitroulinkissue17130 messages
2013-02-11 19:09:43pitroucreate