Merge pull request #4174 from alex/patch-2
Removed legacy fallback for python3.2
This commit is contained in:
@@ -27,9 +27,7 @@ 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.
|
||||
except ImportError:
|
||||
import json
|
||||
|
||||
# ---------
|
||||
|
||||
Reference in New Issue
Block a user