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 cgohlke
Recipients amaury.forgeotdarc, cgohlke, loewis
Date 2010-06-03.00:11:30
SpamBayes Score 8.95887e-06
Marked as misclassified No
Message-id <1275523893.64.0.824392757878.issue6470@psf.upfronthosting.co.za>
In-reply-to
Content
> The patch seems to deal with paths that have "UNC" in them; 
> and the test seems not to.

The UNCW path is a result of the call to ctypes.windll.kernel32.GetFinalPathNameByHandleW() in FixTk.py, which translates "\\Server\Share\File" paths to "\\?\UNC\Server\Share\File".

Simply removing the leading "\\?\" from the UNCW path, as it is done in Python 2.6.5 and 2.7b2 FixTk.py, results in an invalid "UNC\Server\Share\File" path. The proposed patch removes "UNC" and prepends a "\\", which gives a valid "\\Server\Share\File" path.
History
Date User Action Args
2010-06-03 00:11:33cgohlkesetrecipients: + cgohlke, loewis, amaury.forgeotdarc
2010-06-03 00:11:33cgohlkesetmessageid: <1275523893.64.0.824392757878.issue6470@psf.upfronthosting.co.za>
2010-06-03 00:11:31cgohlkelinkissue6470 messages
2010-06-03 00:11:30cgohlkecreate