[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

[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 ') + 'E