#4552: Tidy up "for" tag ------------------------+--------------------------------------------------- Reporter: SmileyChris | Owner: adrian Status: new | Component: Template system Version: SVN | Keywords: for loop Stage: Unreviewed | Has_patch: 1 ------------------------+--------------------------------------------------- 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 `re.split`.
-- Ticket URL: <http://code.djangoproject.com/ticket/4552> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
