<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/email/errors.py, branch v3.7.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/email/errors.py?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/email/errors.py?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-06-12T13:46:11Z</updated>
<entry>
<title>bpo-27397: Make email module properly handle invalid-length base64 strings (GH-7583) (GH-7664)</title>
<updated>2018-06-12T13:46:11Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-12T13:46:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7b82281c80d0064559866afe92f19cae5978c841'/>
<id>urn:sha1:7b82281c80d0064559866afe92f19cae5978c841</id>
<content type='text'>
When attempting to base64-decode a payload of invalid length (1 mod 4),
properly recognize and handle it.  The given data will be returned as-is,
i.e. not decoded, along with a new defect, InvalidBase64LengthDefect.
(cherry picked from commit c3f55be7dd012b7e92901627d0b31c21e983ccb4)

Co-authored-by: Tal Einat &lt;taleinat+github@gmail.com&gt;</content>
</entry>
<entry>
<title>Now that Defects are Exception subclasses, call super.</title>
<updated>2012-06-09T02:45:46Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-06-09T02:45:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6e50b699ac60e5e7c3d92b0f5cbb96da618f3908'/>
<id>urn:sha1:6e50b699ac60e5e7c3d92b0f5cbb96da618f3908</id>
<content type='text'>
The behavior of MessageDefect is legacy behavior.  The chances anyone is
actually using the undocumented 'line' attribute is low, but it costs
little to retain backward compatibility.  Although one of the costs is
having to restore normal exception behavior in HeaderDefect.  On the
other hand, I'll probably add some specialized behavior there later.
</content>
</entry>
<entry>
<title>#12515: email now registers a defect if the MIME end boundary is missing.</title>
<updated>2012-05-28T02:20:42Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-05-28T02:20:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7ef3ff3f2ea77f496f5386c3ede74f95001a6009'/>
<id>urn:sha1:7ef3ff3f2ea77f496f5386c3ede74f95001a6009</id>
<content type='text'>
This commit also restores the news item for 167256 that it looks like
Terry inadvertently deleted.  (Either that, or I don't understand
now merging works...which is equally possible.)
</content>
</entry>
<entry>
<title>#14925: email now registers a defect for missing header/body separator.</title>
<updated>2012-05-28T00:45:01Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-05-28T00:45:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=adbdcdbd9527a3c4000cd4ff0678ff60151f1f79'/>
<id>urn:sha1:adbdcdbd9527a3c4000cd4ff0678ff60151f1f79</id>
<content type='text'>
This patch also deprecates the MalformedHeaderDefect.  My best guess is that
this defect was rendered obsolete by a refactoring of the parser, and the
corresponding defect for the new parser (which this patch introduces) was
overlooked.
</content>
</entry>
<entry>
<title>#12586: add provisional email policy with new header parsing and folding.</title>
<updated>2012-05-25T22:42:14Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-05-25T22:42:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0b6f6c82b51b7071d88f48abb3192bf3dc2a2d24'/>
<id>urn:sha1:0b6f6c82b51b7071d88f48abb3192bf3dc2a2d24</id>
<content type='text'>
When the new policies are used (and only when the new policies are explicitly
used) headers turn into objects that have attributes based on their parsed
values, and can be set using objects that encapsulate the values, as well as
set directly from unicode strings.  The folding algorithm then takes care of
encoding unicode where needed, and folding according to the highest level
syntactic objects.

With this patch only date and time headers are parsed as anything other than
unstructured, but that is all the helper methods in the existing API handle.
I do plan to add more parsers, and complete the set specified in the RFC
before the package becomes stable.
</content>
</entry>
<entry>
<title>#1874: detect invalid multipart CTE and report it as a defect.</title>
<updated>2011-06-22T17:47:53Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2011-06-22T17:47:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=749073af13fcb389059b182290f5cbc953222681'/>
<id>urn:sha1:749073af13fcb389059b182290f5cbc953222681</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#11731: simplify/enhance parser/generator API by introducing policy objects.</title>
<updated>2011-04-18T17:59:37Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2011-04-18T17:59:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3edd22ac950d3a2bcc1ad2e5a83554970aef3369'/>
<id>urn:sha1:3edd22ac950d3a2bcc1ad2e5a83554970aef3369</id>
<content type='text'>
This new interface will also allow for future planned enhancements
in control over the parser/generator without requiring any additional
complexity in the parser/generator API.

Patch reviewed by Éric Araujo and Barry Warsaw.
</content>
</entry>
<entry>
<title>Copying the email package back, despite its failings.</title>
<updated>2007-08-30T01:15:14Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-08-30T01:15:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8b3febef2f96c35e9aad9db2ef499db040fdefae'/>
<id>urn:sha1:8b3febef2f96c35e9aad9db2ef499db040fdefae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the email package for now.</title>
<updated>2007-08-25T13:43:02Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-08-25T13:43:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6398b7a351d04408fa8ce0204d78559e8d6ac98f'/>
<id>urn:sha1:6398b7a351d04408fa8ce0204d78559e8d6ac98f</id>
<content type='text'>
Once Barry and the email-sig have a working new version
we'll add it back.
If it doesn't make the 3.0a deadline (release August 31), too bad.
</content>
</entry>
<entry>
<title>Merge p3yk branch with the trunk up to revision 45595. This breaks a fair</title>
<updated>2006-04-21T10:40:58Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-04-21T10:40:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=49fd7fa4431da299196d74087df4a04f99f9c46f'/>
<id>urn:sha1:49fd7fa4431da299196d74087df4a04f99f9c46f</id>
<content type='text'>
number of tests, all because of the codecs/_multibytecodecs issue described
here (it's not a Py3K issue, just something Py3K discovers):
http://mail.python.org/pipermail/python-dev/2006-April/064051.html

Hye-Shik Chang promised to look for a fix, so no need to fix it here. The
tests that are expected to break are:

test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecs
test_multibytecodec

This merge fixes an actual test failure (test_weakref) in this branch,
though, so I believe merging is the right thing to do anyway.
</content>
</entry>
</feed>
