Antoine Pitrou <pit...@free.fr> added the comment: I think this is wrong. The MSDN doc says:
“Because it turns off automatic expansion of the path string, the "\\?\" prefix also allows the use of ".." and "." in the path names, which can be useful if you are attempting to perform operations on a file with these otherwise reserved relative path specifiers as part of the fully qualified path.” (from http://msdn.microsoft.com/en-us/library/aa365247%28v=vs.85%29.aspx#namespaces) So by "normalizing" the extended path, you are actually changing its meaning. Furthermore, normpath() is generally wrong in the face of symlinks, meaning it shouldn't be used at all. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15286> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com