Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, belopolsky, brett.cannon, brian.curtin, daniel.urban, lemburg, mark.dickinson, pitrou, r.david.murray, rhettinger, techtonik, tim.peters, vstinner
Date 2010-07-02.21:23:16
SpamBayes Score 0.00226858
Marked as misclassified No
Message-id <1278105799.03.0.334983474089.issue7989@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2010-07-02 21:23:19amaury.forgeotdarcsetrecipients: + 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.forgeotdarcsetmessageid: <1278105799.03.0.334983474089.issue7989@psf.upfronthosting.co.za>
2010-07-02 21:23:16amaury.forgeotdarclinkissue7989 messages
2010-07-02 21:23:16amaury.forgeotdarccreate