Gerhard Häring, el jueves 27 de octubre a las 18:23 me escribiste: > Leandro Lucarella wrote: > >David Stanek, el jueves 27 de octubre a las 12:04 me escribiste: > > > >>On 10/27/05, Leandro Lucarella <[EMAIL PROTECTED]> wrote: > >> > >>>And list comprehension (but I don't know if TG uses list comprehension a > >>>lot). > >> > >>List comprehension is possible in P2.3. Sad to say that I currently use > >>P2.3.3 :-( > > > >Damn! I was convinced it was a new feature of 2.4. I even avoid using > >them (leaving an ugly code with map and filter) for a program supposed to > >run in 2.3 :-/ > > List comprehensions appeared as early as Python 2.0 (5 years ago) :-) > > It's generator comprehensions that appeared in Python 2.4.
I knew there was something like list comprehension new in 2.4! =D Thanks! -- LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux .------------------------------------------------------------------------, \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05 / '--------------------------------------------------------------------' Hace diez años tenía una visión Pero nadie más la vió y hoy sigo pidiendo perdón