|
From: dman <ds...@ri...> - 2001-11-07 02:00:36
|
On Tue, Nov 06, 2001 at 06:45:18PM -0500, dman wrote: | | In both Jython and CPython (2.1), | os.makedirs( "~/tmp/not/./new" ) | fails, however | os.makedirs( "~/tmp/not//new" ) | succeeds. | | The GNU 'mkdir' program works with either path (if --parents argument | is given, or all but last directory exist). | | Should os.makedirs() call os.normalize() first, or is this supposed to | be a client responsibility? Oops, it's called "os.normpath()" and it is presently missing in javaos.py. I'll send a patch to create os.normpath. -D |