[issue16220] wsgiref does not call close() on iterable response

Brent Tubbs report at bugs.python.org
Sun Oct 14 10:41:17 CEST 2012


Brent Tubbs added the comment:

Patch attached.

I ran into this while trying to figure out why close() wasn't being called while running the Django dev server, which inherits from wsgiref's BaseHandler.  So I'm also surprised that it's gone unnoticed so long.

Thanks for the quick attention and encouragement on this!

----------
keywords: +patch
Added file: http://bugs.python.org/file27561/wsgiref_close.patch

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


More information about the Python-bugs-list mailing list