Skip to content
Myr

Merge pull request #710 from zachwill/develop

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

Add try/catch for simplejson vs json

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 808b0ad, 2529940 · Browse files · 1 file+5 added−1 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+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:requests/models.py+5 added-1 removed
5 unmodified lines
67This module contains the primary objects that power Requests.8"""910import json10import os11from datetime import datetime1213try:14 import simplejson as json15except ImportError:16 import json1718from .hooks import dispatch_hook, HOOKS19from .structures import CaseInsensitiveDict20from .status_codes import codes21
817 unmodified lines