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 hallaj
Recipients hallaj
Date 2013-03-27.07:05:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364367917.65.0.452140902839.issue17556@psf.upfronthosting.co.za>
In-reply-to
Content
I think the default behavior of os.path.join() when None is passed as the first argument should be to translate it to '' by default.

>>> import os
>>> os.path.join(None, 'somewhere')
'somewhere'

vs the current

>>> import os
>>> os.path.join(None, 'somewhere')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/posixpath.py", line 68, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
History
Date User Action Args
2013-03-27 07:05:17hallajsetrecipients: + hallaj
2013-03-27 07:05:17hallajsetmessageid: <1364367917.65.0.452140902839.issue17556@psf.upfronthosting.co.za>
2013-03-27 07:05:17hallajlinkissue17556 messages
2013-03-27 07:05:17hallajcreate