Why doesn't join() call str() on its arguments?

Aahz aahz at pythoncraft.com
Wed Feb 16 14:47:16 EST 2005


In article <mailman.2716.1108582538.22381.python-list at python.org>,
Fredrik Lundh <fredrik at pythonware.com> wrote:
>
>I've proposed adding a "join" built-in that knows about the available
>string types, and does the right thing for non-string objects.
>unfortunately, the current crop of py-dev:ers don't seem to use strings
>much, so they prioritized really important stuff like sum() and
>reversed() instead...

You know where the patch tracker is....  ;-)
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code -- 
not in reams of trivial code that bores the reader to death."  --GvR



More information about the Python-list mailing list