Skip to content

Json exception#347

Open
eggfu wants to merge 2 commits intobenjaminp:mainfrom
eggfu:json_exception
Open

Json exception#347
eggfu wants to merge 2 commits intobenjaminp:mainfrom
eggfu:json_exception

Conversation

@eggfu
Copy link

@eggfu eggfu commented Dec 27, 2020

The Python3 json module raises JSONDecodeError where the Python2 json module raises ValueError. Added six.JSONDecodeError that can be used to catch the exception regardless of version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant