summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2014-04-11 18:34:40 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2014-04-11 18:34:40 (GMT)
commit0c346d827d38917c4ab4b7679e223f163aec4724 (patch)
tree9806d1fa758903c8e10be3377f301926125d4ad4 /Misc
parent138185fa054b5bd5fba925c7301aff7d912df25b (diff)
downloadcpython-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/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index f1ed07c..437aa46 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1111,6 +1111,7 @@ Armin Ronacher
Case Roole
Timothy Roscoe
Erik Rose
+Josh Rosenberg
Jim Roskind
Brian Rosner
Guido van Rossum
diff --git a/Misc/NEWS b/Misc/NEWS
index dc61927..0b55872 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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