[issue2706] datetime: define division timedelta/timedelta
Mark Dickinson
report at bugs.python.org
Mon Apr 19 22:46:12 CEST 2010
Mark Dickinson <dickinsm at gmail.com> added the comment:
Tennessee, are you still tracking this issue? If not, can I steal it from you. :)
> I found out that timedelta % int is not supported in the
> released versions while timedelta // int is.
Mmm. Interesting. :)
I think it would be fine to add timedelta % timedelta in this patch, and then open another feature request for timedelta % int and friends as you suggest. I don't think divmod(timedelta, timedelta) should go in if timedelta % timedelta doesn't also go in.
> I feel that increasing the number of added
> features will reduce the likelihood of patch being accepted.
Perhaps; I haven't seen much opposition to these ideas anyway---I think the only reason they haven't been implemented yet is lack of round-tuits.
I'd be +1 on accepting the current patch if timedelta % timedelta were added to it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2706>
_______________________________________
More information about the Python-bugs-list
mailing list