This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jeremy.Gray
Recipients Jeremy.Gray
Date 2013-06-15.12:38:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:
>>> from os.path import abspath
>>> abspath('start  ') + 'END'
>>> from os.path import abspath
>>> abspath('start  ') + 'END'
'/Users/jgray/code/start  END'

I have only tested with python 2.7.3 (Enthought distribution), 32-bit, and only Mac 10.8.2 and Windows 7.
Date User Action Args
2013-06-15 12:38:02Jeremy.Graysetrecipients: + Jeremy.Gray
2013-06-15 12:38:02Jeremy.Graysetmessageid: <>
2013-06-15 12:38:02Jeremy.Graylinkissue18221 messages
2013-06-15 12:38:02Jeremy.Graycreate