Message165003
| 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. |
|