Message181921
| 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? |
|