cpython/Lib/email
Barry Warsaw 766125080f Teach this class about "highest-level syntactic breaks" but only for
headers with no charset or 'us-ascii' charsets.  Actually this is only
partially true: we know about semicolons (but not true parameters) and
we know about whitespace (but not technically folding whitespace).
Still it should be good enough for all practical purposes.

Other changes include:

__init__(): Add a continuation_ws argument, which defaults to a single
space.  Set this to change the whitespace used for continuation lines
when a header must be split.  Also, changed the way header line
lengths are calculated, so that they take into account continuation_ws
(when tabs-expanded) and any provided header_name parameter.  This
should do much better on returning split headers for which the first
and subsequent lines must fit into a specified width.

guess_maxlinelen(): Removed.  I don't think we need this method as
part of the public API.

encode_chunks() -> _encode_chunks(): I don't think we need this one as
part of the public API either.
2002-06-28 23:46:53 +00:00
..
__init__.py Bump to version 2.0.5, and also use absolute import paths. 2002-06-01 06:03:09 +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 _split_header(): The code here was terminally broken because it didn't 2002-06-28 23:41:42 +00:00
Header.py Teach this class about "highest-level syntactic breaks" but only for 2002-06-28 23:46:53 +00:00
Iterators.py Complete a merge of the mimelib project and the Python cvs codebases 2002-05-19 23:44:19 +00:00
Message.py Use absolute import paths for intrapackage imports. 2002-06-02 19:05:51 +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 Use absolute import paths for intrapackage imports. 2002-06-02 19:05:08 +00:00
MIMEMultipart.py These two classes provide bases for more specific content type 2002-06-01 05:59:12 +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 _parsebody(): Fix for the new message/rfc822 tree structure (the 2002-06-02 19:12:03 +00:00
quopriMIME.py Whitespace normalization. 2002-05-23 15:15:30 +00:00
Utils.py Use absolute import paths for intrapackage imports. 2002-06-02 19:07:16 +00:00