how to extract from a list of objects a list of specific attribute?,[o.my_attr for o in my_list]