Message262478
In many cases I prefer “with” over “try / finally”. But Python 2’s sockets do not support “with” statements, so choice (2) is not possible for 2.7.
I found one potential technical problem, and maybe some redundant close() calls in the review. |
|
Date |
User |
Action |
Args |
2016-03-26 00:51:24 | martin.panter | set | recipients:
+ martin.panter, vstinner |
2016-03-26 00:51:24 | martin.panter | set | messageid: <1458953484.6.0.717888282467.issue26612@psf.upfronthosting.co.za> |
2016-03-26 00:51:24 | martin.panter | link | issue26612 messages |
2016-03-26 00:51:24 | martin.panter | create | |
|