From 3758868620e085ac49b1ecda27310ba5dd87e5d2 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 17 Dec 2005 17:47:43 +0000 Subject: [PATCH] Bug #1373197: note that os.makedirs does not work with '..' --- Doc/lib/libos.tex | 2 ++ 1 file changed, 2 insertions(+) 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} -- 2.47.3