This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gdr@garethrees.org
Recipients Jeffrey.Walton, gdr@garethrees.org, vstinner
Date 2014-03-16.21:22:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395004924.83.0.669965701773.issue20941@psf.upfronthosting.co.za>
In-reply-to
Content
> How did you get this warning?

This looks like runtime output from a program built using Clang/LLVM with -fsanitize=undefined. See here: http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation

Signed integer overflow is undefined behaviour, so by the time *sec = (time_t)intpart has been evaluated, the undefined behaviour has already happened. It is too late to check for it afterwards.
History
Date User Action Args
2014-03-16 21:22:04gdr@garethrees.orgsetrecipients: + gdr@garethrees.org, vstinner, Jeffrey.Walton
2014-03-16 21:22:04gdr@garethrees.orgsetmessageid: <1395004924.83.0.669965701773.issue20941@psf.upfronthosting.co.za>
2014-03-16 21:22:04gdr@garethrees.orglinkissue20941 messages
2014-03-16 21:22:04gdr@garethrees.orgcreate