[issue2706] datetime: define division timedelta/timedelta

Tennessee Leeuwenburg report at bugs.python.org
Tue Apr 20 00:47:30 CEST 2010


Tennessee Leeuwenburg <tleeuwenburg at gmail.com> added the comment:

On Tue, Apr 20, 2010 at 6:46 AM, Mark Dickinson <report at bugs.python.org>wrote:

>
> Mark Dickinson <dickinsm at gmail.com> added the comment:
>
> Tennessee, are you still tracking this issue?  If not, can I steal it from
> you.  :)
>

Hi Mark,

Please feel free to steal it from me! Wonderful to see some movement on this
issue...

> > 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'm an incrementalist -- I'm happy with one step at a time, so for what it's
worth I'd be happy to see divmod go in alone with % to be added later.
However, seeing as I'm really contributing, I'd say feel free to disregard
my vote of +1... :)

Regards,
-Tennessee

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

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2706>
_______________________________________
-------------- next part --------------
<br><br><div class="gmail_quote">On Tue, Apr 20, 2010 at 6:46 AM, Mark Dickinson <span dir="ltr">&lt;<a href="mailto:report at bugs.python.org">report at 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;">
<div class="im"><br>
Mark Dickinson &lt;<a href="mailto:dickinsm at gmail.com">dickinsm at gmail.com</a>&gt; added the comment:<br>
<br>
</div>Tennessee, are you still tracking this issue?  If not, can I steal it from you.  :)<br></blockquote><div><br></div><div>Hi Mark, </div><div><br></div><div>Please feel free to steal it from me! Wonderful to see some movement on this issue...</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">&gt; I found out that timedelta % int is not supported in the<br>
&gt; released versions while timedelta // int is.<br>
<br>
</div>Mmm.  Interesting.  :)<br>
<br>
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&#39;t think divmod(timedelta, timedelta) should go in if timedelta % timedelta doesn&#39;t also go in.<br>
</blockquote><div><br></div><div>I&#39;m an incrementalist -- I&#39;m happy with one step at a time, so for what it&#39;s worth I&#39;d be happy to see divmod go in alone with % to be added later. However, seeing as I&#39;m really contributing, I&#39;d say feel free to disregard my vote of +1... :)</div>
<div><br></div><div>Regards,</div><div>-Tennessee</div></div>


More information about the Python-bugs-list mailing list