Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile elif tag to elif instead of else: if #760

Merged
merged 1 commit into from Aug 22, 2017

Conversation

ThiefMaster
Copy link
Member

This avoids deep nesting in case of many {% elif .. %} blocks (which would fail during execution) and also deep recursion (which may fail during compilation)

fixes #759

@ThiefMaster ThiefMaster changed the base branch from master to 2.9-maintenance August 22, 2017 21:05
@mitsuhiko
Copy link
Contributor

Meh. Travis is broken. In case this passes it looks good to me though.

This avoids deep nesting in case of many `{% elif .. %}` blocks (which
would fail during execution) and also deep recursion (which may fail
during compilation)

fixes pallets#759
@ThiefMaster ThiefMaster merged commit cde2a54 into pallets:2.9-maintenance Aug 22, 2017
@ThiefMaster ThiefMaster deleted the flat-elif branch August 22, 2017 21:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants