Re: A 'shutdown' function in WSGI
Tarek Ziadé <[email protected]> Tue, 21 Feb 2012 15:06:03 +0100
| Newsgroups | gmane.comp.python.web |
|---|---|
| Message-ID | <CAGSi+Q5Ju_GBMM8A-xwV079ZDL+5b0AGwgipEW5-jK23FGikvg@mail.gmail.com> |
On Tue, Feb 21, 2012 at 3:02 PM, Antoine Pitrou <[email protected]> wrote: > ... > I find your example convincing. I think that's worth fixing in Python > (e.g. by > offering an atexit() method on Thread objects). Perhaps you can open a bug? > Sure yeah -- Notice that I think it's still a good idea to provide the shutdown function in WSGI, because it gives the full control to the web server on the ordering of events. Cheers Tarek > > Regards > > Antoine. > > > _______________________________________________ > Web-SIG mailing list > [email protected] > Web SIG: http://www.python.org/sigs/web-sig > Unsubscribe: > http://mail.python.org/mailman/options/web-sig/ziade.tarek%40gmail.com > -- Tarek Ziadé | http://ziade.org _______________________________________________ Web-SIG mailing list [email protected] Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org