New submission from Michal Božoň <michal.bo...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8643> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com