more bugs in email module

Discussion in 'Python' started by Stuart D. Gathman, Aug 24, 2003.

  1. I am trying to convert an application using rfc822, mimetools and
    multifile to use the new email package. In addition to the param parsing
    anomoly noted earlier, here is a test message that the email module can't
    even read in andd write back out. It drops a whole section of headers for
    the message/rfc822 part.

    http://bmsi.com/python/test/test8

    The old system works fine on this example.

    --
    Stuart D. Gathman <>
    Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
    "Confutatis maledictis, flamis acribus addictis" - background song for
    a Microsoft sponsored "Where do you want to go from here?" commercial.
    Stuart D. Gathman, Aug 24, 2003
    #1
    1. Advertising

  2. On Sun, 24 Aug 2003 00:58:20 -0400, Stuart D. Gathman wrote:

    > http://bmsi.com/python/test/test8
    >
    > The old system works fine on this example.


    Let me clarify the problem with a short test:

    ------te.py--------
    import email
    import sys

    msg = email.message_from_file(sys.stdin)
    sys.stdout.write(msg.as_string())
    -------------------
    $ python2 te.py <test8 >test8.out
    $ diff test8 test8.out
    ..... lots of differences that shouldn't be there ....

    --
    Stuart D. Gathman <>
    Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
    "Confutatis maledictis, flamis acribus addictis" - background song for
    a Microsoft sponsored "Where do you want to go from here?" commercial.
    Stuart D. Gathman, Aug 24, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel Ortmann
    Replies:
    4
    Views:
    571
    Skip Montanaro
    Jul 2, 2003
  2. Michael
    Replies:
    4
    Views:
    409
    Matt Hammond
    Jun 26, 2006
  3. Josef 'Jupp' Schugt

    Still use 'ruby-bugs' for Ruby bugs?

    Josef 'Jupp' Schugt, Nov 4, 2004, in forum: Ruby
    Replies:
    2
    Views:
    161
    Tom Copeland
    Nov 4, 2004
  4. Robert Klemme

    With a Ruby Yell: more, more more!

    Robert Klemme, Sep 28, 2005, in forum: Ruby
    Replies:
    5
    Views:
    215
    Jeff Wood
    Sep 29, 2005
  5. Lorenzo Thurman

    More IE bugs, I think

    Lorenzo Thurman, Aug 24, 2006, in forum: Javascript
    Replies:
    2
    Views:
    96
    Lorenzo Thurman
    Aug 24, 2006
Loading...

Share This Page