defunkt/pystache — pull request #93 by lucasb-eyer (2012-02-29 19:55:58+00:00)
Title: Allows to use generators just like lists/tuples.

This is done by treating any object with __iter__ methods the way only
'list' and 'tuple' objects were treated before. Except dictionaries,
they have an __iter__ method too, but that's not what we want.

All 291 tests aswell as the new one pass.

I know that one could work around this on the app side by simply wrapping the generators by a list() before giving them to pystache, but it feels wrong.