summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2016-08-22 11:24:46 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2016-08-22 11:24:46 (GMT)
commitb820d7f63132c1c6c1f301ee40be2b2729a61356 (patch)
tree0f99eb6240542ff49ddb0202dcd45a756fe2334f /Misc/NEWS
parent2eedc119c211a793d0c9a0beb1abd4bb12e0802e (diff)
downloadcpython-b820d7f63132c1c6c1f301ee40be2b2729a61356.zip
cpython-b820d7f63132c1c6c1f301ee40be2b2729a61356.tar.gz
cpython-b820d7f63132c1c6c1f301ee40be2b2729a61356.tar.bz2
Issue #27792: force int return type for modulo operations involving bools.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ff677e0..cbbb424 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ What's New in Python 3.6.0 beta 1
Core and Builtins
-----------------
+- Issue #27792: The modulo operation applied to ``bool`` and other
+ ``int`` subclasses now always returns an ``int``. Previously
+ the return type depended on the input values. Patch by Xiang Zhang.
+
- Issue #26984: int() now always returns an instance of exact int.
- Issue #25604: Fix a minor bug in integer true division; this bug could