[issue18221] abspath strips trailing spaces on win32

2013-10-24 Thread Tim Golden
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 ad

[issue18221] abspath strips trailing spaces on win32

2013-10-24 Thread Tim Golden
Changes by Tim Golden : -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Py

[issue18221] abspath strips trailing spaces on win32

2013-07-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18221] abspath strips trailing spaces on win32

2013-06-15 Thread Jeremy Gray
Jeremy Gray added the comment: Maybe this a documentation / run-time warning issue, rather than bug. Trailing spaces in filenames are illegal in Win32; nonetheless they can occur, because there are instructions on how to remove such files: http://support.microsoft.com/kb/320081. So os.path.abs

[issue18221] abspath strips trailing spaces on win32

2013-06-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +brian.curtin, pitrou, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue18221] abspath strips trailing spaces on win32

2013-06-15 Thread Jeremy Gray
New submission from Jeremy Gray: The behavior of os.path.abspath differs between Mac OS X and Windows. It seems like a bug that, on Windows, abspath strips trailing whitespace: Windows: >>> from os.path import abspath >>> abspath('start ') + 'END' 'c:\Users\jgray\code\startEND'