Python < 3.3 can't yield from, so fix it.