Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

On Fri, Jul 2, 2010 at 5:23 PM, Amaury Forgeot d'Arc
<rep...@bugs.python.org> wrote:
..
> 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.

Yes I've realized that.  I thought x was coming from integer
arithmetics, but apparently datetime.py loves floats!

----------
title: Add pure Python implementation of datetime module to     CPython -> Add 
pure Python implementation of datetime module to CPython

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7989>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to