4 ms·
Python 3.8 is expected to include PEP 594 "Removing dead batteries from the standard library"... one of the modules schedules to be deprecated is cgi. https://
by genmon 7y ago
Python 3.8 is expected to include PEP 594 "Removing dead batteries from the standard library"... one of the modules schedules to be deprecated is cgi.
https://www.python.org/dev/peps/pep-0594/ https://www.python.org/dev/peps/pep-0594/
As out of date as the module is, reading the PEP made me nostalgic for the days of hammering out a quick CGI script, and I've probably got a few of those scripts still chugging away.
- nandhp 7y agoPEP 594, actually: https://www.python.org/dev/peps/pep-0594/ https://www.python.org/dev/peps/pep-0594/
- genmon 7y agoThanks — fixed
- mjw1007 7y agoThat module isn't actually for the CGI protocol. It dates from a time when "CGI" was a reasonable shorthand for "working with http requests". Mostly what's in it is stuff for handling HTML form values. The Python standard library's CGI-protocol support is in the wsgiref module, and nobody seems to be suggesting removing it.