Mercurial > p > roundup > code
diff CHANGES.txt @ 5331:57caeefb2f81
Work around a line-length limit in poplib
Work around a limitation in python2.7 implementation of poplib (for the
pop3 protocol for fetching emails): It seems poplib applies a
line-length limit not just to the lines involving the pop3 protocol but
to any email content, too. This sometimes leads to tracebacks whenever
an email exceeding this limit is encountered. We "fix" this by
monkey-patching poplib with a larger line-limit. Thanks to Heiko
Stegmann for discovering this.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Thu, 07 Jun 2018 12:39:31 +0200 |
| parents | ba1ce44254df |
| children | d0689aaa83db |
line wrap: on
line diff
--- a/CHANGES.txt Tue Jun 05 21:52:38 2018 -0400 +++ b/CHANGES.txt Thu Jun 07 12:39:31 2018 +0200 @@ -505,6 +505,13 @@ normal database operation. - Allow empty content property for file and message via xmlrpc interface. This used to raise a traceback in the (sql) backend. +- Work around a limitation in python2.7 implementation of poplib (for + the pop3 protocol for fetching emails): It seems poplib applies a + line-length limit not just to the lines involving the pop3 protocol + but to any email content, too. This sometimes leads to tracebacks + whenever an email exceeding this limit is encountered. We "fix" this + by monkey-patching poplib with a larger line-limit. Thanks to Heiko + Stegmann for discovering this. 2016-01-11: 1.5.1
