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 .
Georg Brandl [EMAIL PROTECTED] added the comment:
Closing as Won't fix.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2289
__
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)
print x
x =