[Python-3000] Automatically invoking str() in str.join()

Aahz aahz at pythoncraft.com
Thu Apr 27 19:08:03 CEST 2006


On Thu, Apr 27, 2006, Raymond Hettinger wrote:
> Ivan Krstic wrote:
>>Fredrik Lundh wrote:
>>>>>>it's time to make this a builtin. the "it's the separator that's doing the
>>>joining" idea is silly and unintuitive, and should be fixed.
>>>>+1 on this; I've thought this for a long time.
>> Strong +1.
> This fixes a long-standing micro-wart.

-0
While I hate the way it looks, I never have gotten mixed up about the
order of arguments since switching to ''.join(l).
-- 
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Argue for your limitations, and sure enough they're yours." --Richard Bach


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /