[Python-Dev] [issue3609] does parse_header really belong in CGI module? (original) (raw)
Senthil Kumaran orsenthil at gmail.com
Thu Apr 2 23:50:20 CEST 2009
- Previous message: [Python-Dev] PEP 382: Namespace Packages
- Next message: [Python-Dev] [issue3609] does parse_header really belong in CGI module?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:
- The MIME type header parsing methods rightly belong to email package. Confirming to RFC 2045.
- 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
- Previous message: [Python-Dev] PEP 382: Namespace Packages
- Next message: [Python-Dev] [issue3609] does parse_header really belong in CGI module?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]