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 mandel
Recipients mandel
Date 2012-07-07.16:47:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341679642.43.0.277228630346.issue15286@psf.upfronthosting.co.za>
In-reply-to
Content
Local literal paths are those paths that do use the \\?\ that allows to have paths longer that the MAX_PATH set by Windows (http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#short_vs._long_names).

While UNC (http://en.wikipedia.org/wiki/Path_%28computing%29) paths should not be normalized, local paths that do use the \\?\ prefix should so that developers that use such a trink to allow longer paths on windows do not have to wrapp the call in the following way:

LONG_PATH_PREFIX = '\\?\'
path = path.replace(LONG_PATH_PREFIX, '')
result = LONG_PATH_PREFIX + os.path.normpath(path)

The possible solution would be for the normalization to work and return the path normalized with the prefix added.
History
Date User Action Args
2012-07-07 16:47:22mandelsetrecipients: + mandel
2012-07-07 16:47:22mandelsetmessageid: <1341679642.43.0.277228630346.issue15286@psf.upfronthosting.co.za>
2012-07-07 16:47:21mandellinkissue15286 messages
2012-07-07 16:47:21mandelcreate