Mark Dickinson <dickinsm at gmail.com> added the comment: What about def total_minutes(td): return td / datetime.timedelta(minutes=1) ? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue5788> _______________________________________