"[EMAIL PROTECTED]" typed: >> Tommy Grav schrieb: >> For this case, there are list comprehensions (or map, but you shouldn't >> use it any longer): > > I didn't see anything in the docs about this. Is map going away or is > it considered un-Pythonic now?
Most everywhere I've read about map() and filter() seemed to discourage their use stating that they're becoming depreciated (with the exception of Dive Into Python which advocates use of these two functions in preference to even list comprehensions, if I've read it properly). -- Ayaz Ahmed Khan Falling in love makes smoking pot all day look like the ultimate in restraint. -- Dave Sim, author of "Cerebus". -- http://mail.python.org/mailman/listinfo/python-list