Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:

On Mon, Apr 19, 2010 at 4:09 PM, Mark Dickinson <rep...@bugs.python.org>wrote:

I noticed that as I was porting Victor's patch.   I did not add  timedelta %
timedelta because I found out that timedelta % int is not supported in the
released versions while timedelta // int is.

I was contemplating opening a separate RFE for divmod(timedelta, int)
and timedelta % int because I feel that increasing the number of added
features will reduce the likelihood of patch being accepted.  Personally, I
only had need for  timedelta // timedelta in my code and not any other
proposed features.

----------
Added file: http://bugs.python.org/file16995/unnamed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2706>
_______________________________________
<br><br><div class="gmail_quote">On Mon, Apr 19, 2010 at 4:09 PM, Mark 
Dickinson <span dir="ltr">&lt;<a 
href="mailto:rep...@bugs.python.org";>rep...@bugs.python.org</a>&gt;</span> 
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Why is divmod(timedelta, timedelta) supported but not timedelta % timedelta? 
 I think if one is implemented, the other should be 
too.<br><br></blockquote><div><br></div><div>I noticed that as I was porting 
Victor&#39;s patch.   I did not add  timedelta % timedelta because I found 
out that timedelta % int is not supported in the released versions 
while timedelta // int is.</div>
<div><br></div><div>I was contemplating opening a separate RFE for 
divmod(timedelta, int) and timedelta % int because I feel that increasing the 
number of added features will reduce the likelihood of patch being accepted. 
 Personally, I only had need for  timedelta // timedelta in my code and not 
any other proposed features.</div>
</div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to