<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/email, branch v3.2a3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/email?h=v3.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/email?h=v3.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-10-08T15:55:28Z</updated>
<entry>
<title>#4661: add bytes parsing and generation to email (email version bump to 5.1.0)</title>
<updated>2010-10-08T15:55:28Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-10-08T15:55:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=96fd54eaec700cc50e5960f45ee79bc25c2c48c5'/>
<id>urn:sha1:96fd54eaec700cc50e5960f45ee79bc25c2c48c5</id>
<content type='text'>
The work on this is not 100% complete, but everything is present to
allow real-world testing of the code.  The only remaining major todo
item is to (hopefully!) enhance the handling of non-ASCII bytes in headers
converted to unicode by RFC2047 encoding them rather than replacing them with
'?'s.
</content>
</entry>
<entry>
<title>#1050268: make parseaddr 'quote' the contents of quoted strings in addresses.</title>
<updated>2010-10-02T15:58:26Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-10-02T15:58:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5397e862e2bae29b278cf8756761764e06441db4'/>
<id>urn:sha1:5397e862e2bae29b278cf8756761764e06441db4</id>
<content type='text'>
Also made the doc string for email._parseaddr's 'quote' function more
accurate; I'd love to make the function match the old docstring instead,
but other code uses it according the existing semantics.
</content>
</entry>
<entry>
<title>Fix docstring typo.</title>
<updated>2010-10-01T20:38:33Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-10-01T20:38:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=70a9993bfde88b9f36ea25d3c09e8d8fe082e6c9'/>
<id>urn:sha1:70a9993bfde88b9f36ea25d3c09e8d8fe082e6c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#10004: in Q encoded word ignore '=xx' when xx is not valid hex.</title>
<updated>2010-10-01T15:40:20Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-10-01T15:40:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=31e984c39cc7171f58878f772d0c9ad234893b2a'/>
<id>urn:sha1:31e984c39cc7171f58878f772d0c9ad234893b2a</id>
<content type='text'>
Bug report and fix by Thomas Guettler.
</content>
</entry>
<entry>
<title>Fix a couple spelling errors in comments and delete redundant __len__ def.</title>
<updated>2010-10-01T02:08:02Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-10-01T02:08:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d2c310f0b7c3860cfedf1724d1005aca2ee7b852'/>
<id>urn:sha1:d2c310f0b7c3860cfedf1724d1005aca2ee7b852</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#1194222: make parsedate always return RFC2822 four character years.</title>
<updated>2010-08-25T00:45:55Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-08-25T00:45:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=219d1c8ae320bf1b016f4a4fc5dee50f729048be'/>
<id>urn:sha1:219d1c8ae320bf1b016f4a4fc5dee50f729048be</id>
<content type='text'>
Two character years are now converted to four character years using
the Posix standard rule (&lt;68 == 2000, &gt;=68==1900).  This makes the
parsed date RFC2822 compliant even if the input is not.

Patch and test by Jeffrey Finkelstein.
</content>
</entry>
<entry>
<title>#3196: if needed pad a short base64 encoded word before trying to decode.</title>
<updated>2010-08-03T22:14:10Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-08-03T22:14:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4e69cc1d84a8e025c6b1894b4749cda8bb1d156'/>
<id>urn:sha1:c4e69cc1d84a8e025c6b1894b4749cda8bb1d156</id>
<content type='text'>
The RFCs encourage following Postel's law: be liberal in what you accept.
So if someone forgot to pad the base64 encoded word payload to an
even four bytes, we add the padding before handing it to base64mime.decode.
Previously, missing padding resulted in a HeaderParseError.

Patch by Jason Williams.
</content>
</entry>
<entry>
<title>Issue #4770: Restrict binascii module to accept only bytes (as specified).</title>
<updated>2010-07-27T21:20:15Z</updated>
<author>
<name>Florent Xicluna</name>
<email>florent.xicluna@gmail.com</email>
</author>
<published>2010-07-27T21:20:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f1046ca8173380e2c320c56e1cdc911493371057'/>
<id>urn:sha1:f1046ca8173380e2c320c56e1cdc911493371057</id>
<content type='text'>
And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
</content>
</entry>
<entry>
<title>#1555570: correctly handle a \r\n that is split by the read buffer.</title>
<updated>2010-07-17T01:19:57Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-07-17T01:19:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=45bf773f605bdee3b4f8334a97d6130a75b9286a'/>
<id>urn:sha1:45bf773f605bdee3b4f8334a97d6130a75b9286a</id>
<content type='text'>
Patch and test by Tony Nelson.
</content>
</entry>
<entry>
<title>Merged revisions 81675 via svnmerge from</title>
<updated>2010-06-16T02:19:40Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-06-16T02:19:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=45e0e1444bfaa3d57b6adf3bd2a7ec9171407792'/>
<id>urn:sha1:45e0e1444bfaa3d57b6adf3bd2a7ec9171407792</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81675 | r.david.murray | 2010-06-03 11:43:20 -0400 (Thu, 03 Jun 2010) | 10 lines

  #5610: use \Z not $ so we don't eat extra chars when body part ends with \r\n.

  If a body part ended with \r\n, feedparser, using '$' to terminate its
  search for the newline, would match on the \r\n, and think that it needed
  to strip two characters in order to account for the line end before the
  boundary.  That made it chop one too many characters off the end of
  the body part.  Using \Z makes the match correct.

  Patch and test by Tony Nelson.
........
</content>
</entry>
</feed>
