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