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

avoid jsonlib returning Decimal #1364

Merged
merged 1 commit into from Feb 2, 2012
Merged

avoid jsonlib returning Decimal #1364

merged 1 commit into from Feb 2, 2012

Conversation

minrk
Copy link
Member

@minrk minrk commented Feb 1, 2012

The only functional change is that Decimal objects will no longer come out of jsonlib, but the code that handles jsonlib's two minor differences wrt other json libraries is now a bit clearer and better documented.

Relevant test is added.

The only functional change is that Decimal objects will no longer come out of jsonlib, but the code that handles jsonlib's two minor differences wrt other json libraries is now a bit clearer and better documented.

Relevant test is added.
@ellisonbg
Copy link
Member

This looks straitforward and clean. I would say it is merge ready.

minrk added a commit that referenced this pull request Feb 2, 2012
avoid jsonlib returning Decimal

Cleanup jsonlib checking code in IPython.zmq.session for readability, and ensure that floating-point numbers come out of messages as floats instead of Decimal when using jsonlib.
@minrk minrk merged commit cf6b427 into ipython:master Feb 2, 2012
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
avoid jsonlib returning Decimal

Cleanup jsonlib checking code in IPython.zmq.session for readability, and ensure that floating-point numbers come out of messages as floats instead of Decimal when using jsonlib.
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.

None yet

2 participants