os.path.normpath bug?

2007-06-14 Thread billiejoex
Hi there, I've noticed that os.path.normpath does not collapse redundant separators if they're located at the beginning of the string: print os.path.normpath('/a//b//c') \a\b\c print os.path.normpath('//a//b//c') \\a\b\c Is it intentional or is it a bug? --

Re: os.path.normpath bug?

2007-06-14 Thread Michael Hoffman
billiejoex wrote: Hi there, I've noticed that os.path.normpath does not collapse redundant separators if they're located at the beginning of the string: print os.path.normpath('/a//b//c') \a\b\c print os.path.normpath('//a//b//c') \\a\b\c Is it intentional or is it a bug? Intentional.

Re: os.path.normpath bug?

2007-06-14 Thread billiejoex
On 14 Giu, 22:35, Michael Hoffman [EMAIL PROTECTED] wrote: Intentional. http://en.wikipedia.org/wiki/Path_(computing)#Universal_Naming_Conven... -- Michael Hoffman Got it. Thank you. -- http://mail.python.org/mailman/listinfo/python-list