Fix bug in dump() caused by incorrectly passing args to dumps() by pastelmind · Pull Request #35 · dpranke/pyjson5

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

dpranke merged 1 commit intodpranke:masterfrom

pastelmind:bugfix/dump-args

Mar 17, 2020

Merged

Fix bug in dump() caused by incorrectly passing args to dumps()#35

dpranke merged 1 commit intodpranke:masterfrom

pastelmind:bugfix/dump-args

Conversation

@pastelmind

Copy link

Contributor

dump() was broken because it wasn't passing the cls parameter to dumps(). I fixed it and also made it pass all arguments using keywords, which should help prevent similar bugs if dumps() learns new keyword arguments in the future.

Fix a bug (caused by a missing cls) that caused dump() to pass arguments to dumps() incorrectly.

@dpranke

Copy link

Owner

dpranke commented

Mar 17, 2020

Oops. Thanks for the fix!

@dpranke dpranke merged commit d0897c8 into dpranke:master

Mar 17, 2020

@pastelmind pastelmind deleted the bugfix/dump-args branch

January 6, 2021 12:53

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@pastelmind @dpranke