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
c3c6fe5b
Kaydet (Commit)
c3c6fe5b
authored
Eki 08, 2012
tarafından
Hynek Schlawack
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge 3.3
üst
4a7df9ab
101591e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
os.rst
Doc/library/os.rst
+11
-8
NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/os.rst
Dosyayı görüntüle @
c3c6fe5b
...
@@ -1555,18 +1555,21 @@ features:
...
@@ -1555,18 +1555,21 @@ features:
single: UNC paths; and os.makedirs()
single: UNC paths; and os.makedirs()
Recursive directory creation function. Like :func:`mkdir`, but makes all
Recursive directory creation function. Like :func:`mkdir`, but makes all
intermediate-level directories needed to contain the leaf directory. If
intermediate-level directories needed to contain the leaf directory.
the target directory with the same mode as specified already exists,
raises an :exc:`OSError` exception if *exist_ok* is False, otherwise no
The default *mode* is ``0o777`` (octal). On some systems, *mode* is
exception is raised. If the directory cannot be created in other cases,
ignored. Where it is used, the current umask value is first masked out.
raises an :exc:`OSError` exception. The default *mode* is ``0o777`` (octal).
On some systems, *mode* is ignored. Where it is used, the current umask
If *exists_ok* is ``False`` (the default), an :exc:`OSError` is raised if
value is first masked out.
the target directory already exists. If *exists_ok* is ``True`` an
:exc:`OSError` is still raised if the umask-masked *mode* is different from
the existing mode, on systems where the mode is used. :exc:`OSError` will
also be raised if the directory creation fails.
.. note::
.. note::
:func:`makedirs` will become confused if the path elements to create
:func:`makedirs` will become confused if the path elements to create
include :data:`pardir`.
include :data:`pardir`
(eg. ".." on UNIX systems)
.
This function handles UNC paths correctly.
This function handles UNC paths correctly.
...
...
Misc/NEWS
Dosyayı görüntüle @
c3c6fe5b
...
@@ -152,6 +152,9 @@ Build
...
@@ -152,6 +152,9 @@ Build
Documentation
Documentation
-------------
-------------
- Issue #13498: Clarify docs of os.makedirs()'s exist_ok argument. Done with
great native-speaker help from R. David Murray.
- Issue #15533: Clarify docs and add tests for `subprocess.Popen()`'s cwd
- Issue #15533: Clarify docs and add tests for `subprocess.Popen()`'s cwd
argument.
argument.
...
...
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