Issue #2706: Add support for dividing a timedelta by another timedelta.
Adds support for the three division operations:
- timedelta / timedelta -> float
- timedelta // timedelta -> int
- timedelta % timedelta -> timedelta
also adds support for divmod(timedelta, timedelta).
Patch by Victor Stinner, adapted for py3k and extended by Alexander
Belopolsky.
diff --git a/Misc/NEWS b/Misc/NEWS
index b73ffba..fc3b4c0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -966,6 +966,10 @@
Extension Modules
-----------------
+- Issue #2706: Allow division of a timedelta by another timedelta:
+ timedelta / timedelta, timedelta % timedelta, timedelta // timedelta
+ and divmod(timedelta, timedelta) are all supported.
+
- Issue #8314: Fix unsigned long long bug in libffi on Sparc v8.
- Issue #8300: When passing a non-integer argument to struct.pack with any