Am 25.10.2012 12:50 schrieb Steven D'Aprano:
Then I think you have misunderstood the purpose of "yield from".
Seems so. As I have not yet switched to 3.x, I haven't used it till now.
[quote] However, if the subgenerator is to interact properly with the caller in the case of calls to send(), throw() and close(), things become considerably more difficult. As will be seen later, the necessary code is very complicated, and it is tricky to handle all the corner cases correctly.
Ok, thanks. Thomas -- http://mail.python.org/mailman/listinfo/python-list