]> git.ipfire.org Git - thirdparty/jinja.git/commit
Fix use of 'is' operator for comparison
authorRaul Tambre <raul@tambre.ee>
Thu, 2 May 2019 17:23:56 +0000 (20:23 +0300)
committerAdrian <adrian@planetcoding.net>
Mon, 6 May 2019 16:11:06 +0000 (18:11 +0200)
commit888dc8d81a03db1fcd76adc4b2e23f9beec39b5d
tree203d906130230e05f6d5fb0ca7c337ddc6a4b36c
parente2140487aae1a884afa1f10330d8849cdca62eae
Fix use of 'is' operator for comparison

The 'is' operator is not meant to be used for comparisons. It currently working is an implementation detail of CPython.
CPython 3.8 has added a SyntaxWarning for this.
ext/inlinegettext.py