From: Georg Brandl Date: Sat, 17 Dec 2005 17:47:43 +0000 (+0000) Subject: Bug #1373197: note that os.makedirs does not work with '..' X-Git-Tag: v2.4.3c1~182 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3758868620e085ac49b1ecda27310ba5dd87e5d2;p=thirdparty%2FPython%2Fcpython.git Bug #1373197: note that os.makedirs does not work with '..' --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 33124f9218f7..7150454d8b26 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -857,6 +857,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}