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 fossilet
Recipients fossilet
Date 2014-09-10.02:54:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410317691.24.0.990266868285.issue22379@psf.upfronthosting.co.za>
In-reply-to
Content
In the 2.7 branch, the exception message of str.join is missing when the argument is non-sequence:

>>> ' '.join(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError

I fix this with a patch. After this:

>>> ' '.join(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: can only join an iterable

I also add test to this case. Can the test also be added to 3.x branches?
History
Date User Action Args
2014-09-10 02:54:51fossiletsetrecipients: + fossilet
2014-09-10 02:54:51fossiletsetmessageid: <1410317691.24.0.990266868285.issue22379@psf.upfronthosting.co.za>
2014-09-10 02:54:51fossiletlinkissue22379 messages
2014-09-10 02:54:50fossiletcreate