Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
None
Description
We currently set _HAS_OBJECT_PAIRS_HOOK to True if we can import simplejson. That's not good enough. We also need to check the version of simplejson to ensure it actually supports object_pairs_hook.
This problem was discovered with the Evergreen nightly builds using machines with ancient versions of simplejson.