[issue2706] datetime: define division timedelta/timedelta

Mark Dickinson report at bugs.python.org
Wed Apr 21 00:44:54 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

Stealing from Tennessee...

Patch committed to py3k in r80290, r80291, with some minor tweaks and fixes:

 - rename delta_remailder to delta_remainder
 - fix memory leak in delta_remainder
 - add whatsnew entry for docs
 - note that timedelta // timedelta returns an integer in docs
 - add tests for raising ZeroDivisionError, and remove uses of
   lambda in favour of using the operator module

Thanks, Alexander!

----------
assignee: tleeuwenburg at gmail.com -> mark.dickinson
components: +Extension Modules
resolution:  -> accepted
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2706>
_______________________________________


More information about the Python-bugs-list mailing list