Bug #1357604: os.makedirs handles UNC paths

This commit is contained in:
Georg Brandl 2005-11-22 20:14:29 +00:00
parent 3c9f9ac62b
commit e3faaeb1d6
1 changed files with 2 additions and 3 deletions

View File

@ -875,10 +875,9 @@ Like \function{mkdir()},
but makes all intermediate-level directories needed to contain the but makes all intermediate-level directories needed to contain the
leaf directory. Throws an \exception{error} exception if the leaf leaf directory. Throws an \exception{error} exception if the leaf
directory already exists or cannot be created. The default \var{mode} directory already exists or cannot be created. The default \var{mode}
is \code{0777} (octal). This function does not properly handle UNC is \code{0777} (octal).
paths (only relevant on Windows systems; Universal Naming Convention
paths are those that use the `\code{\e\e host\e path}' syntax).
\versionadded{1.5.2} \versionadded{1.5.2}
\versionchanged[This function now handles UNC paths correctly]{2.3}
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{pathconf}{path, name} \begin{funcdesc}{pathconf}{path, name}