cpython/Lib/email
Barry Warsaw 7aeac9180e Anthony Baxter's cleanup patch. Python project SF patch # 583190,
quoting:

  in non-strict mode, messages don't require a blank line at the end
  with a missing end-terminator. A single newline is sufficient now.

  Handle trailing whitespace at the end of a boundary. Had to switch
  from using string.split() to re.split()

  Handle whitespace on the end of a parameter list for Content-type.

  Handle whitespace on the end of a plain content-type header.

Specifically,

get_type(): Strip the content type string.

_get_params_preserve(): Strip the parameter names and values on both
sides.

_parsebody(): Lots of changes as described above, with some stylistic
changes by Barry (who hopefully didn't screw things up ;).
2002-07-18 23:09:09 +00:00
..
__init__.py Anthony Baxter's patch to expose the parser's `strict' flag in these 2002-07-18 21:29:17 +00:00
_compat21.py _intdiv2() -> _floordiv(), merge of uncommitted changes. 2002-06-02 18:59:06 +00:00
_compat22.py _intdiv2() -> _floordiv(), merge of uncommitted changes. 2002-06-02 18:59:06 +00:00
base64MIME.py header_encode(), encode(): Use _floordiv() from the appropriate 2002-06-02 19:08:31 +00:00
Charset.py _is_unicode(): Use UnicodeType instead of the unicode builtin for 2002-06-01 03:56:07 +00:00
Encoders.py Complete a merge of the mimelib project and the Python cvs codebases 2002-05-19 23:44:19 +00:00
Errors.py Slightly better docstring 2002-06-01 05:45:37 +00:00
Generator.py _dispatch(): Comment improvements. 2002-07-11 18:48:40 +00:00
Header.py make_header(): New function to take the output of decode_header() and 2002-07-09 16:33:47 +00:00
Iterators.py _structure(): Don't get the whole Content-Type: header, just get the 2002-07-11 20:24:36 +00:00
Message.py Anthony Baxter's cleanup patch. Python project SF patch # 583190, 2002-07-18 23:09:09 +00:00
MIMEAudio.py Use absolute import paths for intrapackage imports. 2002-06-02 19:05:08 +00:00
MIMEBase.py Use absolute import paths for intrapackage imports. 2002-06-02 19:05:08 +00:00
MIMEImage.py Use absolute import paths for intrapackage imports. 2002-06-02 19:05:08 +00:00
MIMEMessage.py __init__(): Be sure to set the default type to message/rfc822. 2002-07-09 02:40:35 +00:00
MIMEMultipart.py __init__(): Don't attach the subparts if its an empty tuple. If the 2002-07-09 02:44:26 +00:00
MIMENonMultipart.py These two classes provide bases for more specific content type 2002-06-01 05:59:12 +00:00
MIMEText.py Use absolute import paths for intrapackage imports. 2002-06-02 19:05:08 +00:00
Parser.py Anthony Baxter's cleanup patch. Python project SF patch # 583190, 2002-07-18 23:09:09 +00:00
quopriMIME.py _max_append(): When adding the string `s' to its own line, it should 2002-06-28 23:48:23 +00:00
Utils.py Oleg Broytmann's support for RFC 2231 encoded parameters, SF patch #549133 2002-06-29 05:58:04 +00:00