File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -368,6 +368,10 @@ Some smaller changes made to the core Python language are:
368368 buffer objects as arguments. (Contributed by Antoine Pitrou in
369369 :issue: `15958 `.)
370370
371+ * The :class: `int ` constructor now accepts any object that has an ``__index__ ``
372+ method for its *base * argument. (Contributed by Mark Dickinson in
373+ :issue: `16772 `.)
374+
371375
372376New Modules
373377===========
@@ -1563,6 +1567,7 @@ and build tools:
15631567
15641568* OS/2 (:issue: `16135 `).
15651569* Windows 2000 (changeset e52df05b496a).
1570+ * Windows systems where ``COMSPEC `` points to ``command.com `` (:issue: `14470 `).
15661571* VMS (:issue: `16136 `).
15671572
15681573
@@ -1747,6 +1752,10 @@ Changes in the Python API
17471752 special method returned one. This now raises a :exc: `TypeError `.
17481753 (:issue: `16290 `.)
17491754
1755+ * The :class: `int ` constructor in 3.2 and 3.3 erroneously accept :class: `float `
1756+ values for the *base * parameter. It is unlikely anyone was doing this, but
1757+ if so, it will now raise a :exc: `TypeError ` (:issue: `16772 `).
1758+
17501759
17511760Changes in the C API
17521761--------------------
You can’t perform that action at this time.
0 commit comments