Requests 2.3.0

This commit is contained in:
Ruud
2014-05-29 20:01:22 +02:00
parent c094120f04
commit e714604ec0
70 changed files with 1463 additions and 963 deletions
+4 -2
View File
@@ -4,7 +4,7 @@
pythoncompat
"""
from .packages import charade as chardet
from .packages import chardet
import sys
@@ -75,7 +75,9 @@ is_solaris = ('solar==' in str(sys.platform).lower()) # Complete guess.
try:
import simplejson as json
except ImportError:
except (ImportError, SyntaxError):
# simplejson does not support Python 3.2, it thows a SyntaxError
# because of u'...' Unicode literals.
import json
# ---------