From c054a722bb92d2ed628c22212eed180175e56685 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 25 Jun 2017 12:51:15 -0400 Subject: [PATCH] Removed legacy fallback for python3.2 --- requests/compat.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/requests/compat.py b/requests/compat.py index 5c09ea88..f417cfd8 100644 --- a/requests/compat.py +++ b/requests/compat.py @@ -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 # ---------