Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b30987d7
Commit
b30987d7
authored
Feb 12, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: os.path.samestat on windows, keyword defaults evaluation order.
parent
6c1ba59b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
Doc/library/os.path.rst
Doc/library/os.path.rst
+1
-1
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+10
-2
No files found.
Doc/library/os.path.rst
View file @
b30987d7
...
...
@@ -251,7 +251,7 @@ the :mod:`glob` module.)
.. function:: samefile(path1, path2)
Return ``True`` if both pathname arguments refer to the same file or directory.
On Unix, t
his is determined by the device number and i-node number and raises an
T
his is determined by the device number and i-node number and raises an
exception if a :func:`os.stat` call on either pathname fails.
Availability: Unix, Windows.
...
...
Doc/whatsnew/3.4.rst
View file @
b30987d7
...
...
@@ -955,6 +955,10 @@ the :func:`multiprocessing.cpu_count` function (which is now implemented in
terms of the new :mod:`os` function). (Contributed by Trent Nelson, Yogesh
Chaudhari, Victor Stinner, and Charles-François Natali in :issue:`17914`.)
:func:`os.path.samestat` is now available on the Windows platform (and the
:func:`os.path.samefile` implementation is now shared between Unix and
Windows). (Contributed by Brian Curtin in :issue:`11939`.)
pdb
---
...
...
@@ -1752,9 +1756,13 @@ 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`
* The :class:`int` constructor in 3.2 and 3.3 erroneously accept
s
: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`).
if so, it will now raise a :exc:`TypeError` (:issue:`16772`).
* Defaults for keyword-only arguments are now evaluated *after* defaults for
regular keyword arguments, instead of before. Hopefully no one wrote any
code that depends on the previous buggy behavior (:issue:`16967`).
Changes in the C API
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment