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 martin.panter
Recipients martin.panter, vstinner
Date 2016-03-26.00:51:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458953484.6.0.717888282467.issue26612@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-03-26 00:51:24martin.pantersetrecipients: + martin.panter, vstinner
2016-03-26 00:51:24martin.pantersetmessageid: <1458953484.6.0.717888282467.issue26612@psf.upfronthosting.co.za>
2016-03-26 00:51:24martin.panterlinkissue26612 messages
2016-03-26 00:51:24martin.pantercreate