onefinestay / kaiso

object graph mapper
Other
26 stars 2 forks source link

change manager._execute and friends to _return_ generators instead of _being_ generators #84

Closed davidszotten closed 10 years ago

davidszotten commented 11 years ago

so that manager._execute() actually executes code, without the need for the silly

next(manager._execute(), None)

probably enough to return e.g.

(row for row in results)

instead of using yield

davidszotten commented 10 years ago

fixed in 0.11.0