[issue2289] os.path.normpath over-normalizes

2008-03-16 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closing as "Won't fix". -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2289] os.path.normpath over-normalizes

2008-03-16 Thread Alexander Belopolsky
Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: This is a documented feature: """ normpath(path) Normalize a pathname. ... It should be understood that this may change the meaning of the path if it contains symbolic links! """ See http://docs.python.org/lib/module-os.path.html .

[issue2289] os.path.normpath over-normalizes

2008-03-14 Thread John Love-Jensen
New submission from John Love-Jensen <[EMAIL PROTECTED]>: I found a bug (or at least a shortcoming) in Python's os.path.normpath routine. It overly normalizes, at least for Unix and Unix-like systems (including Mac), and Windows. Example: x = os.path.join(".", "dog", "..", "cupcake.txt") pri