classification
Title: Avoid ResourceWarnings in ccbench
Type: behavior Stage: resolved
Components: Demos and Tools Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: jeffknupp, python-dev
Priority: normal Keywords: patch

Created on 2012-03-27 02:46 by jeffknupp, last changed 2012-03-27 05:43 by python-dev. This issue is now closed.

Files
File name Uploaded Description Edit
ccbench.patch jeffknupp, 2012-03-27 02:46 review
Messages (2)
msg156891 - (view) Author: Jeff Knupp (jeffknupp) * Date: 2012-03-27 02:46
ccbench.py warns about unclosed sockets in the bandwidth test. Fix to close socket properly at end of test.
msg156894 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-27 05:43
New changeset 505aea930985 by Georg Brandl in branch 'default':
Closes #14421: use with statement to properly close socket in bandwidth test.
http://hg.python.org/cpython/rev/505aea930985
History
Date User Action Args
2012-03-27 05:43:47python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg156894

resolution: fixed
stage: resolved
2012-03-27 02:46:26jeffknuppcreate