diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2017-01-07 15:15:06 +0100 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2017-01-07 15:15:06 +0100 |
commit | 147bd571ad914579b0f40bae53aac33d35ef972e (patch) | |
tree | 94b39092e3452f2b2e1c4758fc9e3fcc71159637 /CHANGES | |
parent | 028f058370265f86ce36fc1313520c81e63fb9f0 (diff) | |
download | jinja2-147bd571ad914579b0f40bae53aac33d35ef972e.tar.gz |
Change grouping behavior of tests. This fixes #401
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -30,6 +30,11 @@ Version 2.9 - Block sets are now marked `safe` by default. - On Python 2 the asciification of ASCII strings can now be disabled with the `compiler.ascii_str` policy. +- Tests now no longer accept an arbitrary expression as first argument but + a restricted one. This means that you can now properly use multiple + tests in one expression without extra parentheses. In particular you can + now write ``foo is divisibleby 2 or foo is divisibleby 3`` + as you would expect. Version 2.8.2 ------------- |