[Python-Dev] [issue3609] does parse_header really belong in CGI module?
Senthil Kumaran
orsenthil at gmail.com
Thu Apr 2 23:50:20 CEST 2009
http://bugs.python.org/issue3609 requests to move the function
parse_header present in cgi module to email package.
The reasons for this request are:
1) The MIME type header parsing methods rightly belong to email
package. Confirming to RFC 2045.
2) parse_qs, parse_qsl were similarly moved from cgi to urlparse.
The question here is, should the relocation happen in Python 2.7 as
well as in Python 3K or only in Python 3k?
If changes happen in Python 2.7, then cgi.parse_header will have
DeprecationWarning just in case we go for more versions in Python 2.x
series.
Does anyone have any concerns with this change?
--
Senthil
More information about the Python-Dev
mailing list