[offlineimap] OverflowError: Python int too large to convert to C long (#231)

Nicolas Sebrecht notifications at github.com
Sat Aug 29 10:19:12 BST 2015


On Fri, Aug 28, 2015 at 08:38:21PM -0400, Janna Martl wrote:

> OK, how about this:
> 
> --------

Git supports scissors line but it must have 8< or >8 like this:

  --->8---

It will remove everything above. See
https://www.kernel.org/pub/software/scm/git/docs/git-mailinfo.html

,-)

> 
> Handle out-of-bounds dates
> 
> Handle case where email's internal time is erroneously so large as to
> cause overflow errors when setting file modification time with
> utime_from_header = true.
> 
> Signed-off-by: Janna Martl <janna.martl109 at gmail.com>
> ---
>  offlineimap/folder/Maildir.py | 16 +++++++++++++---
>  1 file changed, 13 insertions(+), 3 deletions(-)

Patch looks fine to me. Will merge. Thank you.

-- 
Nicolas Sebrecht


---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/231#issuecomment-135965689
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150829/f7076ec1/attachment-0003.html>


More information about the OfflineIMAP-project mailing list