AttributeError: 'module' object has no attribute 'JSONDecodeError'

There is no JSONDecodeError class in built-in json (at least for me on Python 2.7.5). It is only present in simplejson, but in simplejson it's a subclass of ValueError so removing it from the tuple of exception classes doesn't change the behaviour.