remove simplejson

This commit is contained in:
Dave Padovano
2016-03-16 12:24:50 -04:00
parent e668a09490
commit 09ecb718ae
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -21,12 +21,6 @@ is_py2 = (_ver[0] == 2)
#: Python 3.x?
is_py3 = (_ver[0] == 3)
try:
import simplejson as json
except (ImportError, SyntaxError):
# simplejson does not support Python 3.2, it throws a SyntaxError
# because of u'...' Unicode literals.
import json
# ---------
# Specifics
+1 -1
View File
@@ -32,7 +32,7 @@ from .utils import (
from .compat import (
cookielib, urlunparse, urlsplit, urlencode, str, bytes, StringIO,
is_py2, chardet, builtin_str, basestring)
from .compat import json as complexjson
import json as complexjson
from .status_codes import codes
#: The set of HTTP status codes that indicate an automatically