diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2014-04-11 18:34:40 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2014-04-11 18:34:40 (GMT) |
commit | 0c346d827d38917c4ab4b7679e223f163aec4724 (patch) | |
tree | 9806d1fa758903c8e10be3377f301926125d4ad4 /Misc | |
parent | 138185fa054b5bd5fba925c7301aff7d912df25b (diff) | |
download | cpython-0c346d827d38917c4ab4b7679e223f163aec4724.zip cpython-0c346d827d38917c4ab4b7679e223f163aec4724.tar.gz cpython-0c346d827d38917c4ab4b7679e223f163aec4724.tar.bz2 |
Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than TypeError. Patch by Josh Rosenberg.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -1111,6 +1111,7 @@ Armin Ronacher Case Roole Timothy Roscoe Erik Rose +Josh Rosenberg Jim Roskind Brian Rosner Guido van Rossum @@ -10,6 +10,9 @@ Release date: TBA Core and Builtins ----------------- +- Issue #21193: pow(a, b, c) now raises ValueError rather than TypeError when b + is negative. Patch by Josh Rosenberg. + - PEP 465 and Issue #21176: Add the '@' operator for matrix multiplication. - Issue #21134: Fix segfault when str is called on an uninitialized |