[ python-Bugs-1357604 ] os.path.makedirs DOES handle UNC paths

SourceForge.net noreply at sourceforge.net
Tue Nov 15 21:40:56 CET 2005


Bugs item #1357604, was opened at 2005-11-15 20:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1357604&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: j vickroy (jvickroy)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.path.makedirs DOES handle UNC paths

Initial Comment:
File:
http://www.python.org/doc/current/lib/os-file-dir.html

Paragraph:
"""
makedirs( path[, mode]) 

Recursive directory creation function. Like mkdir(), 
but makes all intermediate-level directories needed 
to contain the leaf directory. Throws an error 
exception if the leaf directory already exists or 
cannot be created. The default mode is 0777 (octal). 
This function does not properly handle UNC paths 
(only relevant on Windows systems; Universal Naming 
Convention paths are those that use the `\host\path' 
syntax). New in version 1.5.2. 
"""

I just os.path.makedirs(...) with a UNC path and it 
DID create the desired folder on the specified host.

The "in development" documentation is the same as the 
above documentation.

I did not see any reference to this in the existing 
documentation bug reports.

My particulars ...

Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 
32 bit (Intel)] on win32

Windows XP-pro (all latest patches)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1357604&group_id=5470


More information about the Python-bugs-list mailing list