diff options
author | Mark Dickinson <mdickinson@enthought.com> | 2011-09-19 18:23:55 (GMT) |
---|---|---|
committer | Mark Dickinson <mdickinson@enthought.com> | 2011-09-19 18:23:55 (GMT) |
commit | 4ac5d2cda495b90c7990f9e231553fa2dca9854f (patch) | |
tree | 2938bdc235fa6236c2a1d092545c2ce8d81956a1 /Misc | |
parent | dbbed0494113ab7631777c4996a7971770f2dcc1 (diff) | |
download | cpython-4ac5d2cda495b90c7990f9e231553fa2dca9854f.zip cpython-4ac5d2cda495b90c7990f9e231553fa2dca9854f.tar.gz cpython-4ac5d2cda495b90c7990f9e231553fa2dca9854f.tar.bz2 |
Backport issue #12973 list_repeat fix from 3.x.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -12,7 +12,9 @@ Core and Builtins - Issue #12973: Fix overflow checks that invoked undefined behaviour in int.__pow__. These overflow checks were causing int.__pow__ to produce incorrect results with recent versions of Clang, as a result of the - compiler optimizing the check away. + compiler optimizing the check away. Also fix similar overflow check + in list_repeat (which caused test_list to fail with recent versions + of Clang). - Issue #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters. |