Message131201
Well, I believe that in BinHex.__init__() I cannot just wrap the _writeinfo call into a try-finally block, and close ofp in the finally.
I see that in the case of normal operation when the exception is not thrown, the output file descriptor ofp is used in binhex(inp,out) as a result of BinHex.__init__() and so need remain open until binhex(inp,out) close it explicitly. |
|
Date |
User |
Action |
Args |
2011-03-17 00:25:44 | arkady.koplyarov | set | recipients:
+ arkady.koplyarov, ncoghlan, brian.curtin, SilentGhost |
2011-03-17 00:25:44 | arkady.koplyarov | set | messageid: <1300321544.8.0.130791473865.issue11577@psf.upfronthosting.co.za> |
2011-03-17 00:25:44 | arkady.koplyarov | link | issue11577 messages |
2011-03-17 00:25:44 | arkady.koplyarov | create | |
|