Christoph Gohlke <cgoh...@uci.edu> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6470>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to