fast way to remove a few items from a list/queue,somelist = [x for x in somelist if not determine(x)]