Given how the JSON module has been developed to optionally use a c implementation for a large section of it's implementation (swapping back to a python implementation if not available) e.g.
Code: Select all
try:
from _json import make_scanner as c_make_scanner
except ImportError:
c_make_scanner = None
Again apologies for my ignorance I'm primarily a python developer.