Mark Dickinson <dicki...@gmail.com> added the comment: By the way, does your patch do the right thing for
timedelta(microseconds=1) / -4.0 ? Because my Python code doesn't. :) [If n is negative, then the 2*r > n condition in div_nearest should be 2*r < n instead.] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1289118> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com