diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2013-01-27 10:17:52 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2013-01-27 10:17:52 (GMT) |
commit | 07c71365244ce496042566d94bdd469f7d3b1bf6 (patch) | |
tree | 6de3120c827869ed95aca8c6b034bbbc5d9c61ee /Misc | |
parent | 3a62e45b974611c80ba9e21670cfbfbe2bd193c1 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |