Brian Quinlan <br...@sweetapp.com> added the comment: I did add a patch description: "Adds a datetime.total_seconds attribute" - is that unclear?
The idea is that you should be able to extract the total number of seconds in the duration i.e. >>> dt = datetime.timedelta(seconds=1234567.89) >>> dt.total_seconds 1234567.89 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5788> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com