]> git.ipfire.org Git - thirdparty/jinja.git/commit
make compile_templates deterministic 1454/head
authorTakuto Ikuta <tikuta@google.com>
Wed, 26 May 2021 08:09:33 +0000 (17:09 +0900)
committerDavid Lord <davidism@gmail.com>
Mon, 9 Aug 2021 17:58:24 +0000 (10:58 -0700)
commit4c703ec44dc74b25ba4f1fb7b87bf9106313ffcf
treebfc87bd8ed3e8c04f3efe3c755c205f7c2a86665
parent02071b3e5933560f070e3a898f8aa82622d2001e
make compile_templates deterministic

Python3 doesn't keep insertion order for set(), so this sorts some
places for deterministic output for compiled template.
CHANGES.rst
src/jinja2/compiler.py
src/jinja2/idtracking.py
tests/test_compile.py [new file with mode: 0644]