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 serhiy.storchaka
Recipients BreamoreBoy, Richard.Urwin, amaury.forgeotdarc, bugok, effbot, eli.bendersky, flox, nnorwitz, rurwin, serhiy.storchaka
Date 2012-07-08.11:23:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341746651.2458.58.camel@raxxla>
In-reply-to <1341685249.94.0.991030946369.issue1767933@psf.upfronthosting.co.za>
Content
Here is a patch with using context management (as Eli advised). This
makes error handling much safer and probably makes the code a little
easier. Several new tests are added.
History
Date User Action Args
2012-07-08 11:23:39serhiy.storchakasetrecipients: + serhiy.storchaka, effbot, nnorwitz, amaury.forgeotdarc, bugok, rurwin, eli.bendersky, flox, BreamoreBoy, Richard.Urwin
2012-07-08 11:23:38serhiy.storchakalinkissue1767933 messages
2012-07-08 11:23:38serhiy.storchakacreate