Skip to content
Myr

Add changelog for #404

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent f22fdd5 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:CHANGES+3 added
24 unmodified lines
25- Added a check for default arguments followed by non-default arguments. This26 change makes ``{% macro m(x, y=1, z) %}...{% endmacro %}`` a syntax error. The27 previous behavior for this code was broken anyway (resulting in the default28 value being applied to `y`).29- Add ability to use custom subclasses of ``jinja2.compiler.CodeGenerator`` and30 ``jinja2.runtime.Context`` by adding two new attributes to the environment31 (`code_generator_class` and `context_class`) (pull request ``#404``).3233Version 2.7.334-------------35(bugfix release, released on June 6th 2014)
328 unmodified lines