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.

作者 gdr@garethrees.org
收信人 Jeffrey.Walton, gdr@garethrees.org, vstinner
日期 2014-03-16.21:22:04
SpamBayes Score -1.0
Marked as misclassified
Message-id <1395004924.83.0.669965701773.issue20941@psf.upfronthosting.co.za>
In-reply-to
内容
> 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.
历史
日期 用户 动作 参数
2014-03-16 21:22:04gdr@garethrees.org修改recipients: + gdr@garethrees.org, vstinner, Jeffrey.Walton
2014-03-16 21:22:04gdr@garethrees.org修改messageid: <1395004924.83.0.669965701773.issue20941@psf.upfronthosting.co.za>
2014-03-16 21:22:04gdr@garethrees.org链接issue20941 messages
2014-03-16 21:22:04gdr@garethrees.org创建