[New-bugs-announce] [issue19258] Got resource warning when running wsgiref demo app

Vajrasky Kok report at bugs.python.org
Mon Oct 14 11:40:15 CEST 2013


New submission from Vajrasky Kok:

./python Lib/wsgiref/simple_server.py 
Serving HTTP on 0.0.0.0 port 8000 ...
127.0.0.1 - - [14/Oct/2013 17:23:43] "GET /xyz?abc HTTP/1.1" 200 4510
sys:1: ResourceWarning: unclosed <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 8000)>

Attached the patch to close the socket.

----------
components: Library (Lib)
files: close_server_in_wsgiref_demo.patch
keywords: patch
messages: 199858
nosy: vajrasky
priority: normal
severity: normal
status: open
title: Got resource warning when running wsgiref demo app
type: resource usage
versions: Python 3.4
Added file: http://bugs.python.org/file32111/close_server_in_wsgiref_demo.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19258>
_______________________________________


More information about the New-bugs-announce mailing list