use generator expressions where list comprehensions are overkill

props to emptyvi and Raymond Hettinger