[ovs-dev] [PATCH 0/2] Fix Python C extension unicode issues

Terry Wilson twilson at redhat.com
Wed Sep 19 22:47:27 UTC 2018


There are some unicode issues with the Python JSON C extension.
These crept in because the tests don't actually run against it
except under some pretty specific conditions. This patch set
runs the Python-releated tests against both backends and
successfully skips the new tests if the JSON C extension isn't
built.

The unicode issues are worked around, though I'm not super
happy with how. It might be better to make the pure-Python
JSON parser operate on bytes() instead of unicode(), but I was
afraid that would end up being a lot more work, especially
given the differences with Python 2 and Python 3.


More information about the dev mailing list