summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2013-01-27 10:17:52 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2013-01-27 10:17:52 (GMT)
commit07c71365244ce496042566d94bdd469f7d3b1bf6 (patch)
tree6de3120c827869ed95aca8c6b034bbbc5d9c61ee /Misc
parent3a62e45b974611c80ba9e21670cfbfbe2bd193c1 (diff)
downloadcpython-07c71365244ce496042566d94bdd469f7d3b1bf6.zip
cpython-07c71365244ce496042566d94bdd469f7d3b1bf6.tar.gz
cpython-07c71365244ce496042566d94bdd469f7d3b1bf6.tar.bz2
Issue #16772: in int(x, base), non-integer bases must have an __index__ method.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 01842ce..d2f15b3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ What's New in Python 3.4.0 Alpha 1?
Core and Builtins
-----------------
+- Issue #16772: The base argument to the int constructor no longer accepts
+ floats, or other non-integer objects with an __int__ method. Objects
+ with an __index__ method are now accepted.
+
- Issue #10156: In the interpreter's initialization phase, unicode globals
are now initialized dynamically as needed.