This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients brian.curtin, mandel, pitrou, tim.golden
Date 2012-07-07.19:36:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341689779.21.0.817497298162.issue15286@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-07-07 19:36:19pitrousetrecipients: + pitrou, tim.golden, brian.curtin, mandel
2012-07-07 19:36:19pitrousetmessageid: <1341689779.21.0.817497298162.issue15286@psf.upfronthosting.co.za>
2012-07-07 19:36:18pitroulinkissue15286 messages
2012-07-07 19:36:18pitroucreate