File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ the :mod:`glob` module.)
251251.. function :: samefile(path1, path2)
252252
253253 Return ``True `` if both pathname arguments refer to the same file or directory.
254- On Unix, this is determined by the device number and i-node number and raises an
254+ This is determined by the device number and i-node number and raises an
255255 exception if a :func: `os.stat ` call on either pathname fails.
256256
257257 Availability: Unix, Windows.
Original file line number Diff line number Diff line change @@ -955,6 +955,10 @@ the :func:`multiprocessing.cpu_count` function (which is now implemented in
955955terms of the new :mod: `os ` function). (Contributed by Trent Nelson, Yogesh
956956Chaudhari, Victor Stinner, and Charles-François Natali in :issue: `17914 `.)
957957
958+ :func: `os.path.samestat ` is now available on the Windows platform (and the
959+ :func: `os.path.samefile ` implementation is now shared between Unix and
960+ Windows). (Contributed by Brian Curtin in :issue: `11939 `.)
961+
958962
959963pdb
960964---
@@ -1752,9 +1756,13 @@ Changes in the Python API
17521756 special method returned one. This now raises a :exc: `TypeError `.
17531757 (:issue: `16290 `.)
17541758
1755- * The :class: `int ` constructor in 3.2 and 3.3 erroneously accept :class: `float `
1759+ * The :class: `int ` constructor in 3.2 and 3.3 erroneously accepts :class: `float `
17561760 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 `).
1761+ if so, it will now raise a :exc: `TypeError ` (:issue: `16772 `).
1762+
1763+ * Defaults for keyword-only arguments are now evaluated *after * defaults for
1764+ regular keyword arguments, instead of before. Hopefully no one wrote any
1765+ code that depends on the previous buggy behavior (:issue: `16967 `).
17581766
17591767
17601768Changes in the C API
You can’t perform that action at this time.
0 commit comments