Re: A 'shutdown' function in WSGI
Tarek Ziadé <[email protected]> Tue, 21 Feb 2012 15:13:18 +0100
| Newsgroups | gmane.comp.python.web |
|---|---|
| Message-ID | <CAGSi+Q4a5QozBOk8OYvwvqsdrJ=F+Azp-x0MJKPAVfV3M9ZgBw@mail.gmail.com> |
for the record: http://bugs.python.org/issue14073 On Tue, Feb 21, 2012 at 3:06 PM, Tarek Ziadé <[email protected]> wrote: > 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 > -- 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