[New-bugs-announce] [issue8643] incorrect timedelta yielded by two on-the-fly nows
Michal Božoň
report at bugs.python.org
Fri May 7 13:11:18 CEST 2010
New submission from Michal Božoň <michal.bozon at gmail.com>:
now() - now() from datetime.datetime produces not-nearly-zero timedelta:
>>> import datetime
>>> (datetime.datetime.now() - datetime.datetime.now()).seconds
86399
(i can't in the moment figure out why this is happening, sice the datetime library is written in C)
----------
components: Library (Lib)
messages: 105190
nosy: mykhal
priority: normal
severity: normal
status: open
title: incorrect timedelta yielded by two on-the-fly nows
type: behavior
versions: Python 2.5, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8643>
_______________________________________
More information about the New-bugs-announce
mailing list