From: Georg Brandl Date: Sat, 17 Dec 2005 17:47:42 +0000 (+0000) Subject: Bug #1373197: note that os.makedirs does not work with '..' X-Git-Tag: v2.5a0~1006 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=852a542279f524951ac5cfcc59d2ec022214898c;p=python Bug #1373197: note that os.makedirs does not work with '..' --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 48cda9b632..148d2dadd1 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -877,6 +877,8 @@ leaf directory. Throws an \exception{error} exception if the leaf directory already exists or cannot be created. The default \var{mode} is \code{0777} (octal). On some systems, \var{mode} is ignored. Where it is used, the current umask value is first masked out. +\note{\function{makedirs()} will become confused if the path elements +to create include \var{os.pardir}.} \versionadded{1.5.2} \versionchanged[This function now handles UNC paths correctly]{2.3} \end{funcdesc}