lostnihilist
Ars Scholae Palatinae
I believe you have run in to the reason for the creation of the "yield from" syntax:
http://www.python.org/dev/peps/pep-0380/
There are code samples there on what you need to do until that syntax is fully developed and supported. But basically, when you are doing recursive/nested yields, you need to loop over the recursed/nested call and yield each item individually.
http://www.python.org/dev/peps/pep-0380/
There are code samples there on what you need to do until that syntax is fully developed and supported. But basically, when you are doing recursive/nested yields, you need to loop over the recursed/nested call and yield each item individually.