Tidy up "for" tag
|Reported by:||Chris Beaven||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Just a follow-up patch related to #3523 (Extend "for" tag to allow unpacking of lists) and it's recent checkin.
Currently there is a small difference between the single behaviour and the unpacking behaviour: for unpacking, the context scope is popped every loop iteration. This patch changes this behaviour to use the same scope throughout the loop's lifespan (making it behave more like the older single behaviour).
The patch also tidies up the comma-splitting through the use of
Change History (9)
comment:4 Changed 6 years ago by
|Patch needs improvement:||set|
|Triage Stage:||Design decision needed → Accepted|