Author jackdied
Recipients jackdied, michael.foord, ncoghlan
Date 2010-07-10.02:40:17
SpamBayes Score 0.0786069
Marked as misclassified No
Message-id <1278729622.38.0.718207557958.issue9110@psf.upfronthosting.co.za>
In-reply-to
Content
Hey Frood,  I'll take another look at it tomorrow when I am less addled.  But as to context managers that are actual classes - I've not written a single one;  they are always generator functions with a simple try/yield/except/finally in the body.  After all state-is-state, and writing an __init__, __enter__, and __exit__ is just extra boilerplate for my common uses.
History
Date User Action Args
2010-07-10 02:40:22jackdiedsetrecipients: + jackdied, ncoghlan, michael.foord
2010-07-10 02:40:22jackdiedsetmessageid: <1278729622.38.0.718207557958.issue9110@psf.upfronthosting.co.za>
2010-07-10 02:40:18jackdiedlinkissue9110 messages
2010-07-10 02:40:17jackdiedcreate