mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Fix #8879. Add os.link support to Windows.
Additionally, the st_ino attribute of stat structures was not being filled in. This was left out of the fix to #10027 and was noticed due to test_tarfile failing when applying the patch for this issue. An earlier version of the fix to #10027 included st_ino, but that attribute got lost in the shuffle of a few review/fix cycles. All tests pass.
This commit is contained in:
parent
f21c7ed39d
commit
1b9df39620
4 changed files with 66 additions and 1 deletions
|
|
@ -1058,7 +1058,10 @@ Files and Directories
|
|||
|
||||
Create a hard link pointing to *source* named *link_name*.
|
||||
|
||||
Availability: Unix.
|
||||
Availability: Unix, Windows.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
Added Windows support.
|
||||
|
||||
|
||||
.. function:: listdir(path='.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue