[Python-Dev] problem with recursive "yield from" delegation
Nick Coghlan
ncoghlan at gmail.com
Thu Mar 8 01:11:53 CET 2012
More information about the Python-Dev mailing list
Thu Mar 8 01:11:53 CET 2012
- Previous message: [Python-Dev] problem with recursive "yield from" delegation
- Next message: [Python-Dev] problem with recursive "yield from" delegation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Mar 8, 2012 at 10:00 AM, Benjamin Peterson <benjamin at python.org> wrote: > 2012/3/7 Benjamin Peterson <benjamin at python.org>: >> 2012/3/7 Stefan Behnel <stefan_ml at behnel.de>: >>> The problem is in steps 5) and 6), which are handled by g1 at the wrong >>> call level. They shouldn't lead to undelegation and termination in g1, just >>> to an exception being raised in g2. >> >> That looks wrong indeed. > > Fixed as of 3357eac1ba62 Thanks. And, since the fix was entirely internal to the generator implementation, Stefan should be right for the Cython generators, too. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] problem with recursive "yield from" delegation
- Next message: [Python-Dev] problem with recursive "yield from" delegation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list