This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 mark.dickinson
收信人 Alexander.Belopolsky, amaury.forgeotdarc, eric.araujo, fredrikj, jess.austin, jribbens, mark.dickinson, r.david.murray, tleeuwenburg@gmail.com, vstinner, webograph
日期 2010-04-19.20:46:11
SpamBayes Score 0.00017931021
Marked as misclassified
Message-id <1271709972.34.0.842703267137.issue2706@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2010-04-19 20:46:12mark.dickinson修改recipients: + mark.dickinson, jribbens, amaury.forgeotdarc, vstinner, jess.austin, fredrikj, webograph, eric.araujo, r.david.murray, tleeuwenburg@gmail.com, Alexander.Belopolsky
2010-04-19 20:46:12mark.dickinson修改messageid: <1271709972.34.0.842703267137.issue2706@psf.upfronthosting.co.za>
2010-04-19 20:46:11mark.dickinson链接issue2706 messages
2010-04-19 20:46:11mark.dickinson创建