Skip to content

bpo-24641: Improved error message for JSON unserializible keys.#4364

Merged
serhiy-storchaka merged 3 commits into
python:masterfrom
serhiy-storchaka:json-serialize-errors
Nov 25, 2017
Merged

bpo-24641: Improved error message for JSON unserializible keys.#4364
serhiy-storchaka merged 3 commits into
python:masterfrom
serhiy-storchaka:json-serialize-errors

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Nov 10, 2017

Copy link
Copy Markdown
Member

Also updated an example for default() in the module docstring.
Removed quotes around type name in other error messages.

https://bugs.python.org/issue24641

Also updated an example for default() in the module docstring.
Removed quotes around type name in other error messages.
@serhiy-storchaka

serhiy-storchaka commented Nov 20, 2017

Copy link
Copy Markdown
Member Author

What are your thoughts @etrepum? Does this change look good to you? Will you accept porting it to simplejson (simplejson/simplejson#191)?

@etrepum

etrepum commented Nov 20, 2017

Copy link
Copy Markdown
Contributor

Looks good to me for both here and simplejson. Would be good to get some test coverage to ensure that we're not missing something here in the review.

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

Labels

skip news type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants