Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Unfreeze event before serializing with ujson #2483
Conversation
matrixbot
commented
Sep 30, 2017
|
Can one of the admins verify this patch? |
matrixbot
commented
Sep 30, 2017
|
Can one of the admins verify this patch? |
matrixbot
commented
Sep 30, 2017
|
Can one of the admins verify this patch? |
|
@matrixbot ok to test |
erikjohnston
changed the base branch from
master
to
develop
Oct 11, 2017
erikjohnston
merged commit bc7f3eb
into
matrix-org:develop
Oct 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jeremycline commentedSep 30, 2017
In newer versions of https://github.com/esnme/ultrajson, ujson does not
serialize frozendicts (introduced in esnme/ultrajson@53f85b1). Although
the PyPI version is still 1.35, Fedora ships with a build from commit
esnme/ultrajson@2f1d487. This causes the serialization to fail if the
distribution-provided package is used.
This runs the event through the unfreeze utility before serializing it.
Thanks to @ignatenkobrain for tracking down the root cause.
fixes #2351
Signed-off-by: Jeremy Cline jeremy@jcline.org