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.

作者 amaury.forgeotdarc
收信人 amaury.forgeotdarc, belopolsky, brett.cannon, brian.curtin, daniel.urban, lemburg, mark.dickinson, pitrou, r.david.murray, rhettinger, techtonik, tim.peters, vstinner
日期 2010-07-02.21:23:16
SpamBayes Score 0.0022685756
Marked as misclassified
Message-id <1278105799.03.0.334983474089.issue7989@psf.upfronthosting.co.za>
In-reply-to
内容
> assert daysecondswhole == int(daysecondswhole)  # can't overflow   
> Since int is long in 3.x, this assert does not check anything

Even with 2.5 int(x) cannot overflow, and returns a long when needed!
This assert probably checks that the number has no fractional part.
历史
日期 用户 动作 参数
2010-07-02 21:23:19amaury.forgeotdarc修改recipients: + amaury.forgeotdarc, lemburg, tim.peters, brett.cannon, rhettinger, mark.dickinson, belopolsky, pitrou, vstinner, techtonik, r.david.murray, brian.curtin, daniel.urban
2010-07-02 21:23:19amaury.forgeotdarc修改messageid: <1278105799.03.0.334983474089.issue7989@psf.upfronthosting.co.za>
2010-07-02 21:23:16amaury.forgeotdarc链接issue7989 messages
2010-07-02 21:23:16amaury.forgeotdarc创建