homepage

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.

Author belopolsky
Recipients belopolsky, eric.smith, francismb, jbatista, joar, maker, petri.lehtinen, ronaldoussoren, skip.montanaro, thezulk
Date 2013年06月05日.22:17:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370470675.17.0.726561889018.issue17267@psf.upfronthosting.co.za>
In-reply-to
Content
See also issue 3250. If we add mod 24h arithmetics, I would like to see something like time.add_with_carry(timedelta) -> (int, time) method. With it, users who need a specific overflow behavior will be able to implement it easily:
def check_add(t, td):
 carry, result = t.add_with_carry(tf)
 if carry:
 raise ...
History
Date User Action Args
2013年06月05日 22:17:55belopolskysetrecipients: + belopolsky, skip.montanaro, ronaldoussoren, eric.smith, maker, petri.lehtinen, francismb, thezulk, joar, jbatista
2013年06月05日 22:17:55belopolskysetmessageid: <1370470675.17.0.726561889018.issue17267@psf.upfronthosting.co.za>
2013年06月05日 22:17:55belopolskylinkissue17267 messages
2013年06月05日 22:17:55belopolskycreate

AltStyle によって変換されたページ (->オリジナル) /