Skip to content
Myr

Removed legacy fallback for python3.2

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Alex Gaynor · committed by GitHub · parent bbeb1c3 · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:requests/compat.py+1 added-3 removed
25 unmodified lines
26is_py3 = (_ver[0] == 3)2728try:29 import simplejson as json30except (ImportError, SyntaxError):31 # simplejson does not support Python 3.2, it throws a SyntaxError32 # because of u'...' Unicode literals.30except ImportError:31 import json3233# ---------34# Specifics
35 unmodified lines