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 jackdied
Recipients jackdied, michael.foord, ncoghlan
Date 2010-07-10.02:40:17
SpamBayes Score 0.07860689
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