commit | 8bb9cde6c040fd1026b5f05d1ebdba19a8b149a8 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Jul 01 15:16:55 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Jul 01 15:16:55 2010 +0000 |
tree | 4677867143c72668580c7ba0b523c037c38fd3a1 | |
parent | 6e73b197479d54d5d6d7461d3cc336c545cc6295 [diff] [blame] |
correctly lookup __trunc__ and __floor__
diff --git a/Misc/NEWS b/Misc/NEWS index 9cf23c3..2671d85 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -1374,6 +1374,9 @@ 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