For review: PEP 308 - If-then-else expression

Aahz aahz at
Sun Feb 9 22:12:56 CET 2003

In article <roy-7E700F.15424909022003 at>,
Roy Smith  <roy at> wrote:
>In article <b26b87$i0h$1 at>, aahz at (Aahz) 
>> In article <mailman.1044817049.31780.python-list at>,
>> Carlos Ribeiro  <cribeiro at> wrote:
>>>On Saturday 08 February 2003 18:51, Christian Tismer wrote:
>>>> b) reading and execution order should match as much as possible.
>>>Then I wonder why do people think that the following snippet is pythonic in 
>>>any (reasonable) way:
>>>  ','.join(lines)
>> Many people (including me) think it's *NOT* Pythonic.
>I'm with Aahz.  I think it's pretty silly.  Join() should have been a 
>method of lists (and maybe tuples?), not of strings.  But that's history 

Well, no, that doesn't work, either.  join() should have been a class
method rather than an instance method, is what it is.
Aahz (aahz at           <*>

Register for PyCon now!

More information about the Python-list mailing list