Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle float values in bytes escape functions #88

Merged
merged 2 commits into from
Mar 19, 2017

Conversation

amotzg
Copy link
Contributor

@amotzg amotzg commented Mar 19, 2017

Fix #86 by adding float values handling on string escape functions.
bytes_to_unicode and apply_escape_bytes in encodehelpers.py assumed only integer and bytes values exist, ignoring floats. Now the handle floats in the same way integers are handled, by first converting to string.

While at it, also added a general test of running all built-in callbacks against all test dumps to cache any missed incidental crashes.

@oranagra oranagra merged commit 2004634 into sripathikrishnan:master Mar 19, 2017
@amotzg amotzg deleted the encode_float branch March 20, 2017 06:05
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.

2 participants