[issue2849] Remove usage of rfc822 from the stdlib

2008-06-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I've removed the whole module in r64203. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue2849] Remove usage of rfc822 from the stdlib

2008-06-12 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 12, 2008, at 4:36 PM, Humberto Diogenes wrote: > Humberto Diogenes <[EMAIL PROTECTED]> added the comment: > > [msg68060] >>> Why does it need to be in 2.6? mimetools is still there. >> >>

[issue2849] Remove usage of rfc822 from the stdlib

2008-06-12 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: [msg68060] >> Why does it need to be in 2.6? mimetools is still there. > > I guess you're right, it doesn't. So, does it make sense to backport this too? ___ Python tracker <[EMAIL PROTECTED]>

[issue2849] Remove usage of rfc822 from the stdlib

2008-06-11 Thread Barry A. Warsaw
Barry A. Warsaw <[EMAIL PROTECTED]> added the comment: Reviewed and applied to Python 3.0 in r64161. The patch did not apply cleanly for 2.6. I'm going to bump this down to critical for the first betas. Humberto, can you back port it to Python 2.6? -- nosy: +barry priority: release bl

[issue2849] Remove usage of rfc822 from the stdlib

2008-06-02 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Sun, Jun 1, 2008 at 8:33 PM, Humberto Diogenes <[EMAIL PROTECTED]> wrote: > > Humberto Diogenes <[EMAIL PROTECTED]> added the comment: > > With the attached patches, rfc822 won't be used anywhere inside Lib/ > anymore (with the exception of m

[issue2849] Remove usage of rfc822 from the stdlib

2008-06-02 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: With the attached patches, rfc822 won't be used anywhere inside Lib/ anymore (with the exception of mimetools, which is going away too). Is there any reason to convert the files below? Shouldn't they be removed from 3.0? Demo/scripts/mbo

[issue2849] Remove usage of rfc822 from the stdlib

2008-06-01 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: Added a patch that successfully removes rfc822 dependency from the cgi module, using ideas from issue 1112856. I had to change one test, as the email FeedParser ignores trailing spaces in subparts. -- keywords: +patch Added file:

[issue2849] Remove usage of rfc822 from the stdlib

2008-05-30 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: Seems that removing rfc822 from `cgi` is not an easy task -- please see issue 1112856. ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue2849] Remove usage of rfc822 from the stdlib

2008-05-19 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: Tried to just replace rfc822.Message with email.message_from_file in cgi.py but it didn't work. I still have to figure out how to fix FieldStorage.read_multi. Added file: http://bugs.python.org/file10376/remove_rfc822-cgi-incomplete.py

[issue2849] Remove usage of rfc822 from the stdlib

2008-05-18 Thread Humberto Diogenes
Changes by Humberto Diogenes <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10375/remove_rfc822-test_urllib2.py __ Tracker <[EMAIL PROTECTED]> __ _

[issue2849] Remove usage of rfc822 from the stdlib

2008-05-18 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: Correction: mimetools is also being removed from py3k (issue 2848). __ Tracker <[EMAIL PROTECTED]> __ __

[issue2849] Remove usage of rfc822 from the stdlib

2008-05-18 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: A quick search for rfc822 imports in py3k reveals this: $ find . -name '*.py' | xargs egrep -nr '(from|import) rfc822' ./Demo/scripts/mboxconvert.py:7:import rfc822 ./Lib/cgi.py:39:import rfc822 ./Lib/mimetools.py:5:import rfc822 ./Lib/tes

[issue2849] Remove usage of rfc822 from the stdlib

2008-05-15 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- priority: critical -> release blocker __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mai

[issue2849] Remove usage of rfc822 from the stdlib

2008-05-13 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: The rfc822 module has been deprecated for a while but is still used in the stdlib (at least in 'cgi' and 'test_urllib2'). All uses need to go before the module can be removed. -- components: Library (Lib) messages: 66810 nosy: brett