[issue8643] incorrect timedelta yielded by two on-the-fly nows subtraction

2010-05-07 Thread Michal Božoň
Michal Božoň michal.bo...@gmail.com added the comment: ok, my fault, i should have tried (abs(datetime.datetime.now() - datetime.datetime.now())).seconds 0 sorry :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8643

[issue8643] incorrect timedelta yielded by two on-the-fly nows subtraction

2010-05-07 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Hmm. My example did make me realize that the total_seconds() method isn't as accurate as it could be. I'll open another issue for this. -- ___ Python tracker rep...@bugs.python.org