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 dino.viehland
Recipients Demur Rumed, dino.viehland
Date 2016-05-26.20:31:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464294701.61.0.466029083717.issue27127@psf.upfronthosting.co.za>
In-reply-to
Content
I like how this makes the loop opcodes more regular - it should make things like Pyjion (http://www.github.com/Microsoft/Pyjion) which translate bytecode into native code.  We already have some code (currently commented out) checking that GET_ITER is followed by FOR_ITER to do some optimizations around loops.  

Another issue we ran into was that this leaves the iterable on the stack while the loop is running...  I'm just curious if your larger change alter that in anyway?
History
Date User Action Args
2016-05-26 20:31:41dino.viehlandsetrecipients: + dino.viehland, Demur Rumed
2016-05-26 20:31:41dino.viehlandsetmessageid: <1464294701.61.0.466029083717.issue27127@psf.upfronthosting.co.za>
2016-05-26 20:31:41dino.viehlandlinkissue27127 messages
2016-05-26 20:31:41dino.viehlandcreate