lets assume the following simple Object:
class Mock: def __init__(self, name, age): self.name = name self.age = age
then I
List comprehensions can pick these up:
new_list = [x for x in myList if x.age == 30]