Tim Golden added the comment:

I'm going to close this as won't fix: the underlying implementation is simply 
calling GetFullPathName and removal of trailing spaces doesn't seem too 
surprising a result. It is possible to manipulate such files using Windows' 
special \\?\C:\... syntax.

While I admit this could catch you out if you were trying to nail an 
illegal-but-existent filename, we try not to put warnings in the docs for every 
cornercase lest they become cluttered.

----------

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

Reply via email to