summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-02-12 04:34:14 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-02-12 04:34:14 (GMT)
commitdb2d8a4ca5d84ddda6f1daf8ee1ae6ce0a31a83e (patch)
tree87e947dde2dc6f58d954613a82e0d7a2fdf11e03
parenta6ec5cf8257f76b1bd27e7db827208f4d808688d (diff)
downloadcpython-db2d8a4ca5d84ddda6f1daf8ee1ae6ce0a31a83e.zip
cpython-db2d8a4ca5d84ddda6f1daf8ee1ae6ce0a31a83e.tar.gz
cpython-db2d8a4ca5d84ddda6f1daf8ee1ae6ce0a31a83e.tar.bz2
whatsnew: command.com support gone, int *base* can be __index__ but not float.
-rw-r--r--Doc/whatsnew/3.4.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 8ce4c54..06adecd 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -368,6 +368,10 @@ Some smaller changes made to the core Python language are:
buffer objects as arguments. (Contributed by Antoine Pitrou in
:issue:`15958`.)
+* The :class:`int` constructor now accepts any object that has an ``__index__``
+ method for its *base* argument. (Contributed by Mark Dickinson in
+ :issue:`16772`.)
+
New Modules
===========
@@ -1563,6 +1567,7 @@ and build tools:
* OS/2 (:issue:`16135`).
* Windows 2000 (changeset e52df05b496a).
+* Windows systems where ``COMSPEC`` points to ``command.com`` (:issue:`14470`).
* VMS (:issue:`16136`).
@@ -1747,6 +1752,10 @@ Changes in the Python API
special method returned one. This now raises a :exc:`TypeError`.
(:issue:`16290`.)
+* The :class:`int` constructor in 3.2 and 3.3 erroneously accept :class:`float`
+ values for the *base* parameter. It is unlikely anyone was doing this, but
+ if so, it will now raise a :exc:`TypeError` (:issue:`16772`).
+
Changes in the C API
--------------------