Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
c739569b
Kaydet (Commit)
c739569b
authored
Tem 09, 2010
tarafından
Brian Curtin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adding versionchanged to the various Windows os.symlink additions, along
with a few minor touchups.
üst
16633fa4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
os.path.rst
Doc/library/os.path.rst
+3
-1
os.rst
Doc/library/os.rst
+12
-6
No files found.
Doc/library/os.path.rst
Dosyayı görüntüle @
c739569b
...
@@ -236,11 +236,13 @@ applications should use string objects to access all files.
...
@@ -236,11 +236,13 @@ applications should use string objects to access all files.
exception if a :func:`os.stat` call on either pathname fails.
exception if a :func:`os.stat` call on either pathname fails.
On Windows, two files are the same if they resolve to the same final path
On Windows, two files are the same if they resolve to the same final path
name using the Windows API call GetFinalPathNameByHandle
and t
his function
name using the Windows API call GetFinalPathNameByHandle
. T
his function
raises an exception if handles cannot be obtained to either file.
raises an exception if handles cannot be obtained to either file.
Availability: Windows, Unix.
Availability: Windows, Unix.
.. versionchanged:: 3.2 Added Windows support
.. function:: sameopenfile(fp1, fp2)
.. function:: sameopenfile(fp1, fp2)
...
...
Doc/library/os.rst
Dosyayı görüntüle @
c739569b
...
@@ -1064,8 +1064,9 @@ Files and Directories
...
@@ -1064,8 +1064,9 @@ Files and Directories
.. function:: lstat(path)
.. function:: lstat(path)
Like :func:`stat`, but do not follow symbolic links. This is an alias for
Like :func:`stat`, but do not follow symbolic links. This is an alias for
:func:`stat` on platforms that do not support symbolic links, such as
:func:`stat` on platforms that do not support symbolic links.
Windows prior to 6.0 (Vista).
.. versionchanged:: 3.2 Added support for Windows 6.0 (Vista)
.. function:: mkfifo(path[, mode])
.. function:: mkfifo(path[, mode])
...
@@ -1181,7 +1182,9 @@ Files and Directories
...
@@ -1181,7 +1182,9 @@ Files and Directories
and the call may raise an UnicodeDecodeError. If the *path* is a bytes
and the call may raise an UnicodeDecodeError. If the *path* is a bytes
object, the result will be a bytes object.
object, the result will be a bytes object.
Availability: Unix, Windows.
Availability: Unix, Windows
.. versionchanged:: 3.2 Added support for Windows 6.0 (Vista)
.. function:: remove(path)
.. function:: remove(path)
...
@@ -1341,8 +1344,9 @@ Files and Directories
...
@@ -1341,8 +1344,9 @@ Files and Directories
.. function:: symlink(source, link_name)
.. function:: symlink(source, link_name)
Create a symbolic link pointing to *source* named *link_name*. On Windows,
Create a symbolic link pointing to *source* named *link_name*.
symlink version takes an additional, optional parameter,
On Windows, symlink version takes an additional, optional parameter,
*target_is_directory*, which defaults to False.
*target_is_directory*, which defaults to False.
symlink(source, link_name, target_is_directory=False)
symlink(source, link_name, target_is_directory=False)
...
@@ -1359,7 +1363,9 @@ Files and Directories
...
@@ -1359,7 +1363,9 @@ Files and Directories
will raise a NotImplementedError on Windows versions earlier than 6.0. The
will raise a NotImplementedError on Windows versions earlier than 6.0. The
SeCreateSymbolicLinkPrivilege is required in order to create symlinks.
SeCreateSymbolicLinkPrivilege is required in order to create symlinks.
Availability: Unix, Windows 6.0.
Availability: Unix, Windows
.. versionchanged:: 3.2 Added support for Windows 6.0 (Vista)
.. function:: unlink(path)
.. function:: unlink(path)
...
...
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