]> git.ipfire.org Git - thirdparty/tornado.git/commit
On python 3, json_encode no longer supports byte strings as input.
authorBen Darnell <ben@bendarnell.com>
Fri, 8 Mar 2013 22:03:38 +0000 (17:03 -0500)
committerBen Darnell <ben@bendarnell.com>
Fri, 8 Mar 2013 22:03:38 +0000 (17:03 -0500)
commit8a198cc40381f2b5f5806d3b6078462105a11384
tree28fa67b320e659fb6ef201b77795c8cf90e04ac2
parente72eee12d4659315d4af68b45dbba8295a8093c8
On python 3, json_encode no longer supports byte strings as input.

This matches the behavior of the underlying json library.
recursive_unicode was more expensive than the actual json encoding for
complex structures, and was useless on python 2.
tornado/escape.py
tornado/test/escape_test.py