[issue1145] Allow str.join to join non-string types (as per PEP 3100)

Guido van Rossum report at bugs.python.org
Wed Sep 12 21:13:30 CEST 2007


Guido van Rossum added the comment:

I like this, but the patch has problems: you don't error-check the
return value from PyObject_Unicode() or PyUnicode_FromObject() (and why
do you need the latter call anyway?)

Also in the docstring I would reference str() instead of __str__().

There are also a few lines longer than 80 chars.

----------
assignee:  -> gvanrossum
nosy: +gvanrossum

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1145>
__________________________________


More information about the Python-bugs-list mailing list