Skip to content

Commit 825a031

Browse files
committed
Remove obsolete comment.
1 parent 070160c commit 825a031

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

canonicaljson.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ def set_json_library(json_lib):
4545
json_lib: The module to use for JSON encoding. Must have a
4646
`JSONEncoder` property.
4747
"""
48-
49-
# ideally we'd set ensure_ascii=False, but the ensure_ascii codepath is so
50-
# much quicker (assuming c speedups are enabled) that it's actually much
51-
# quicker to let it do that and then substitute back (it's about 2.5x
52-
# faster).
53-
#
54-
# (in any case, simplejson's ensure_ascii doesn't get U+2028 and U+2029
55-
# right, as per https://github.com/simplejson/simplejson/issues/206).
56-
#
57-
5848
global _canonical_encoder
5949
_canonical_encoder = json_lib.JSONEncoder(
6050
ensure_ascii=False,

0 commit comments

Comments
 (0)