[Patches] [ python-Patches-1666625 ] Allow specifying headers for MIME parts

SourceForge.net noreply at sourceforge.net
Thu Jun 7 04:24:59 CEST 2007


Patches item #1666625, was opened at 2007-02-22 16:18
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1666625&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.4
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Jörg Sonnenberger (jsonn)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: Allow specifying headers for MIME parts

Initial Comment:
The patch is needed to allow specification e.g. of content-transfer-encoding. I couldn't find a way with the existing infrastructure to do that.

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-06-06 19:24

Message:
Logged In: YES 
user_id=33168
Originator: NO

Thanks for the comment Bjorn.  The module has also been removed from
py3k.

Jorg, you might want to consider using the email package.  I'm not sure if
the functionality is in there, but if not, that's where the patch should
come from.  Thanks for your effort.

----------------------------------------------------------------------

Comment By: Björn Lindqvist (sonderblade)
Date: 2007-06-06 09:13

Message:
Logged In: YES 
user_id=51702
Originator: NO

The MimeWriter module is deprecated since 2.3, so no point in adding new
functionality to it, is there?

----------------------------------------------------------------------

Comment By: Collin Winter (collinwinter)
Date: 2007-03-06 09:15

Message:
Logged In: YES 
user_id=1344176
Originator: NO

Thanks for contributing! While I can't speak to whether this patch is a
good idea, here are some things you need to fix:

1) Your patch introduces incorrect indentation at line 136 and 137 of
Lib/MimeWriter.py (run your updated MimeWriter.py with "python -tt").

2) The patch lacks test cases (add them to Lib/test/test_MimeWriter.py)
and documentation (update Doc/lib/libmimewriter.tex).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1666625&group_id=5470


More information about the Patches mailing list