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 py.user
Recipients py.user
Date 2012-01-10.04:09:28
SpamBayes Score 1.8558737e-07
Marked as misclassified No
Message-id <1326168569.6.0.720816160315.issue13755@psf.upfronthosting.co.za>
In-reply-to
Content
>>> 'abcd'.endswith(['a', 'b'])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: Can't convert 'list' object to str implicitly
>>>

it would be nice like in str.join
>>> ''.join(('a', 'b'))
'ab'
>>> ''.join(['a', 'b'])
'ab'
>>> ''.join({'a', 'b'})
'ab'
>>> ''.join({'a': 1, 'b': 2})
'ab'
>>>
History
Date User Action Args
2012-01-10 04:09:29py.usersetrecipients: + py.user
2012-01-10 04:09:29py.usersetmessageid: <1326168569.6.0.720816160315.issue13755@psf.upfronthosting.co.za>
2012-01-10 04:09:28py.userlinkissue13755 messages
2012-01-10 04:09:28py.usercreate