This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Demur Rumed, dino.viehland, rhettinger, serhiy.storchaka
Date 2016-06-08.05:36:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465364166.73.0.32961056152.issue27127@psf.upfronthosting.co.za>
In-reply-to
Content
As Dino noted in msg266453, this leaves the iterable on the stack while the loop is running. I think opcode reworking shouldn't change behavior. You should call GET_ITER or FOR_BEGIN before calling generator code.
History
Date User Action Args
2016-06-08 05:36:06serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, dino.viehland, Demur Rumed
2016-06-08 05:36:06serhiy.storchakasetmessageid: <1465364166.73.0.32961056152.issue27127@psf.upfronthosting.co.za>
2016-06-08 05:36:06serhiy.storchakalinkissue27127 messages
2016-06-08 05:36:06serhiy.storchakacreate