[Web-SIG] CGI in PEP 444

Antoine Pitrou solipsis at pitrou.net
Tue Jan 4 18:19:48 CET 2011


P.J. Eby <pje at ...> writes:
> 
> At 12:43 PM 1/4/2011 +0000, Antoine Pitrou wrote:
> >Alice Bevan­McGregor <alice at ...> writes: > > [1] 
> >http:://bit.ly/e7rtI6 So, while we are at it, could we get rid of 
> >the "CGI server example" in this new SWGI spec? This is 2011, and we 
> >should promote modern idioms, not encourage people to do 1995 Web 
> >programming. 10 years ago, CGI was already frown upon. (and even the 
> >idea that WSGI should provide some kind of CGI compatibility sounds 
> >a bit ridiculous to me) Regards Antoine.
> 
> I still use CGI for the odd one-off, testing, prototyping, etc., and 
> it's by far the easiest thing to deploy on a lot of web hosts.

Really? Isn't that the kind of thing for which wsgiref should be the preferred 
choice?
As for deployment, why would anyone recommend using CGI in production?

Regards

Antoine.




More information about the Web-SIG mailing list