Bugs item #1373197, was opened at 2005-12-05 03:05
Message generated for change (Comment added) made by birkenfeld
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: Closed
>Resolution: Wont Fix
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. 

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

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-12-17 18:49

Message:
Logged In: YES 
user_id=1188172

It's not clear what os.makedirs should do with such
arguments. It should stay simple and not try to correct bad
paths.

I amended the docs to spell that out in rev. 41736/41737.

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

Comment By: Nir Soffer (nirs)
Date: 2005-12-05 03:08

Message:
Logged In: YES 
user_id=832344

And here are the tests.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1373197&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to