On 2018-02-26, Kirill Balunov <kirillbalu...@gmail.com> wrote: > Currently `str.join` raises `TypeError` if there are any non-string values > in iterable, including `bytes` objects. Is it an awful idea to implicitly > _cast_ elements in iterable to their `str` or `repr` representation?
Yes, that's an awful idea. PHP pulls stunts like that behind your back, and it's a huge source of bugs. -- Grant Edwards grant.b.edwards Yow! Let's all show human at CONCERN for REVERAND MOON's gmail.com legal difficulties!! -- https://mail.python.org/mailman/listinfo/python-list