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

Use Python's built-in json module by default, instead of simplejson #1368

Merged
merged 1 commit into from
Aug 14, 2021

Conversation

nikolas
Copy link
Contributor

@nikolas nikolas commented Aug 13, 2021

Only use simplejson if it's absolutely necessary - Python's built-in json module is better if it's available.

Only use simplejson if it's absolutely necessary - Python's built-in json module is better if it's available.
@auvipy auvipy merged commit 78f9b60 into celery:master Aug 14, 2021

class _DecodeError(Exception):
pass
except ImportError: # pragma: no cover
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I understand, ImportError will be raised only for python<2.6, which is not supported.

Maybe remove simplejson related code at all?

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

Successfully merging this pull request may close these issues.

3 participants