[ python-Bugs-1373197 ] os.makedirs fail if path contains os.pardir
SourceForge.net
noreply at sourceforge.net
Mon Dec 5 03:05:00 CET 2005
Bugs item #1373197, was opened at 2005-12-05 04:05
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=1373197&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: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nir Soffer (nirs)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.makedirs fail if path contains os.pardir
Initial Comment:
os.makedirs fail with "OSError: [Errno 17] File exists:" error when trying
to create paths like 'a/b/../c' or 'a/b/c/..'.
Seen on 2.3.0, 2.4.1 and 2.5.0.
Included patch with new test cases that fail with current 2.5 code.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1373197&group_id=5470
More information about the Python-bugs-list
mailing list