Py2 doesn't have DEFAULT_PROTOCOL so deal with that properly