[issue16220] wsgiref does not call close() on iterable response
Jesús Cea Avión
report at bugs.python.org
Mon Oct 15 04:30:37 CEST 2012
Jesús Cea Avión added the comment:
Your patch is trivial enough, I am OK to integrate it as is, but it would be nice to verify that we are not reintroducing this bug in the future.
I know that writing a the test will be far more difficult that writing the patch. You can try :).
Anyway I am OK to integrate current patch as is. Looks simple enough.
The comment in "run()" is a bit scary, and we could call "self.close()" twice, with this patch, or call extra code after "self.close()" is called. I don't know it that would be an issue, I am not familiarized enough with WSGI.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16220>
_______________________________________
More information about the Python-bugs-list
mailing list