-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
1.3.4 breaks includes with two variables #401
Comments
Yes I was kind of concerned about this new change, but we couldnt get anything to show it failing. I'm going to revert it right now and we can add this new case as a test. 1.3.4 is yanked |
Mike Bayer has proposed a fix for this issue in the main branch: Revert "Update parsetree.py removed "?" from for x in re.compile(r"(${.+})" …" https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/5304 |
thanks for the quick reporting, 1.3.5 is released |
Alright, thanks for the fix! :) |
Hai Zhu has proposed a fix for this issue in the main branch: Support the direct passing of dictionary literals. https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/5558 |
Support the direct passing of dictionary literals when calling functions and fix the errors caused by nested braces. This revises the fix that was released in 1.3.4 and then reverted in 1.3.5. Pull request by Hai Zhu and Jose Galvez. Fixes: #400 Fixes: #401 Closes: #414 Pull-request: #414 Pull-request-sha: c6aa6be Change-Id: If51a7d0847552191ca2a919e834ed5040e3a6666
Consider this example:
The content of the
foobar
file does not matter:With 1.3.4, I get the following exception:
Changing it to this works fine, though:
Maybe related to #397?
Thanks!
The text was updated successfully, but these errors were encountered: