[offlineimap] OverflowError: Python int too large to convert to C long (#231)
notifications at github.com
Thu Aug 27 21:48:37 BST 2015
On Thu, Aug 27, 2015 at 12:31:53PM -0700, Martin Carpella wrote:
> Issue is caused by utime_from_header = yes for the local repository and
> a SPAM message that is quite far in the future, exceeding int32 as
> The message's date header is:
> Date: Thu, 03 Sep 3610 21:32:03 +0300
> Maybe a check should be added if the date is that far in the future and
> set to native C's long max-value (depending if i386 or amd64).
Aargh. This should be a rare case. I think it would be better to just
discard the offending mail and notice the user. Playing with data type
is annoying, code intrusive and prone to errors.
> Reply to this email directly or view it on GitHub.
> 1. https://github.com/OfflineIMAP/offlineimap/issues/231#issuecomment-135530756
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OfflineIMAP-project