> Or allow nested list comprehensions? > > [x for (x,y) in [x,f(x) for x in another_list] if y < 5] This already works, with a syntax correction: [x for (x, y) in [(x, f(x)) for x in another_list] if y < 5] Regards