Mon, 22 Mar 2010 17:03:33 -0500 Merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 22 Mar 2010 17:03:33 -0500] rev 10754
Merge with stable
Mon, 22 Mar 2010 15:16:27 +0100 wsgicgi: call close() on iterable to avoid resource leaks stable
Konstantin Zemlyak <zart@zartsoft.ru> [Mon, 22 Mar 2010 15:16:27 +0100] rev 10753
wsgicgi: call close() on iterable to avoid resource leaks Quoting PEP 333 (WSGI): "If the iterable returned by the application has a close() method, the server or gateway must call that method upon completion of the current request, whether the request was completed normally, or terminated early due to an error. (This is to support resource release by the application. This protocol is intended to complement PEP 325's generator support, and other common iterables with close() methods."
(0) -10000 -3000 -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip