]> git.ipfire.org Git - thirdparty/tornado.git/commit
Open template files in binary mode (to be decoded as utf8 later)
authorBen Darnell <ben@bendarnell.com>
Thu, 19 Apr 2012 00:45:09 +0000 (17:45 -0700)
committerBen Darnell <ben@bendarnell.com>
Thu, 19 Apr 2012 04:29:06 +0000 (21:29 -0700)
commit983fb8bae82268d07ddeaa7938c200513d5f2a67
tree6e3b19d76903aed3e5b63f19c0ee5480c2d450ef
parent4e989593766fc2cbb4520e852bd8f419e4cf33fd
Open template files in binary mode (to be decoded as utf8 later)

Text mode in python 3 uses an environment-dependent encoding, so
add a test and run it in both C and utf-8 locales.
MANIFEST.in
setup.py
tornado/template.py
tornado/test/template_test.py
tornado/test/templates/utf8.html [new file with mode: 0644]
tox.ini