This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients janssen, mgiuca, orsenthil
Date 2009-04-02.21:46:01
SpamBayes Score 6.640458e-07
Marked as misclassified No
Message-id <1238708765.18.0.659138371932.issue3609@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch takes care of relocating the parse_header function
from cgi module to email.header module in Python2.7.

Few comments:

1)parse_multipart need not be moved from cgi, because it is discouraged
to use parse_multipart and it is advised to use FieldStorage class
methods which does the same thing.

2)Should the relocation happen in Python 2.7 as well as in Python 3K or
only in Python 3k?  ( The patch is for Python 2.7, but can be ported to
Python 3k).

4) 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.

5)Does anyone have any concerns with this change?  I plan to ask at
Python-Dev as well?
History
Date User Action Args
2009-04-02 21:46:05orsenthilsetrecipients: + orsenthil, janssen, mgiuca
2009-04-02 21:46:05orsenthilsetmessageid: <1238708765.18.0.659138371932.issue3609@psf.upfronthosting.co.za>
2009-04-02 21:46:04orsenthillinkissue3609 messages
2009-04-02 21:46:03orsenthilcreate