[Web-SIG] A 'shutdown' function in WSGI

Tarek Ziadé ziade.tarek at gmail.com
Tue Feb 21 15:06:03 CET 2012


On Tue, Feb 21, 2012 at 3:02 PM, Antoine Pitrou <solipsis at pitrou.net> 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
> Web-SIG at python.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/web-sig/attachments/20120221/9bb45298/attachment.html>


More information about the Web-SIG mailing list