]> git.ipfire.org Git - thirdparty/jinja.git/commit
Add support for explicit callers
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 8 Jan 2017 01:16:41 +0000 (02:16 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 8 Jan 2017 01:16:41 +0000 (02:16 +0100)
commit6235644d33ca6b378cc7b46e4f8ded16b4735714
tree05010d4165306e4855bfc4e9cd9cc26babcafdff
parente3022523a51a4c6569f9e21625ca2cebcc7ce98a
Add support for explicit callers

This adds support for a never intended Jinja2 feature which however
worked in limited support before due to a bug with the identifier
scoping.  A quick github code search indicates that developers
commonly did this to set the default caller to none.

This fixes #642
CHANGES
jinja2/compiler.py
jinja2/runtime.py
tests/test_regression.py