summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-07-01 15:16:55 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-07-01 15:16:55 (GMT)
commit8bb9cde6c040fd1026b5f05d1ebdba19a8b149a8 (patch)
tree4677867143c72668580c7ba0b523c037c38fd3a1 /Misc
parent6e73b197479d54d5d6d7461d3cc336c545cc6295 (diff)
downloadcpython-8bb9cde6c040fd1026b5f05d1ebdba19a8b149a8.zip
cpython-8bb9cde6c040fd1026b5f05d1ebdba19a8b149a8.tar.gz
cpython-8bb9cde6c040fd1026b5f05d1ebdba19a8b149a8.tar.bz2
correctly lookup __trunc__ and __floor__
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9cf23c3..2671d85 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1374,6 +1374,9 @@ Library
Extension Modules
-----------------
+- In the math module, correctly lookup __trunc__ and __floor__ as special
+ methods.
+
- Issue #9005: Prevent utctimetuple() from producing year 0 or year
10,000. Prior to this change, timezone adjustment in utctimetuple()
could produce tm_year value of 0 or 10,000. Now an OverflowError is