← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~ricardokirkner/python-oops-wsgi/close-iterable into lp:python-oops-wsgi

 

The proposal to merge lp:~ricardokirkner/python-oops-wsgi/close-iterable into lp:python-oops-wsgi has been updated.

Commit Message changed to:

fix generator_tracker to behave properly according to WSGI standard

according to http://blog.dscpl.com.au/2012/10/obligations-for-calling-close-on.html
any iterable returned by a WSGI application needs to have .close() called on it

Since django 1.5 this causes connections to be left open as "IDLE in transaction"
when the iterator is not closed

For more details, see:
https://code.launchpad.net/~ricardokirkner/python-oops-wsgi/close-iterable/+merge/165192
-- 
https://code.launchpad.net/~ricardokirkner/python-oops-wsgi/close-iterable/+merge/165192
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~ricardokirkner/python-oops-wsgi/close-iterable into lp:python-oops-wsgi.


References