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

Drop ujson and switch to orjson #579

Closed
wants to merge 1 commit into from

Conversation

rumpelsepp
Copy link

Implemented as requested in this comment:
#508 (comment)

Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks for your help with this @rumpelsepp!

Besides these changes, you also need to replace ujson in python-lsp-jsonrpc for the switch to be complete.

pylsp/__main__.py Show resolved Hide resolved
@rumpelsepp rumpelsepp force-pushed the orjson branch 3 times, most recently from 4a01423 to ce08bbc Compare July 30, 2024 11:24
rumpelsepp added a commit to rumpelsepp/python-lsp-jsonrpc that referenced this pull request Jul 30, 2024
rumpelsepp added a commit to rumpelsepp/python-lsp-jsonrpc that referenced this pull request Jul 30, 2024
@rumpelsepp
Copy link
Author

rumpelsepp commented Jul 30, 2024

I realized there is a typing issue with this. json.dumps() and orjson.dump() return different types. I will fix this. I am short on time today.

@rumpelsepp rumpelsepp marked this pull request as draft July 30, 2024 11:58
valrus pushed a commit to valrus/python-lsp-jsonrpc that referenced this pull request Aug 17, 2024
@ccordoba12
Copy link
Member

Closing in favor of #591. Thanks for your work on this @rumpelsepp!

@ccordoba12 ccordoba12 closed this Aug 18, 2024
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