Message 109136 - Python tracker
On Fri, Jul 2, 2010 at 5:23 PM, Amaury Forgeot d'Arc <report@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!