diff options
author | Terry Wilson <twilson@redhat.com> | 2018-10-09 11:31:33 -0500 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-10-11 15:00:59 -0700 |
commit | 4617d1f6bd24c543f533f6485b42ebca6b0a8371 (patch) | |
tree | 2a1c9fdb226df70cdff406f0b337e717f280dd95 /lib/dp-packet.h | |
parent | a7be68a4d77791bbe02c37f7ad8ae60b02e5679e (diff) | |
download | openvswitch-4617d1f6bd24c543f533f6485b42ebca6b0a8371.tar.gz |
Work around Python/C JSON unicode differences
The OVS C-based JSON parser operates on bytes, so the parser_feed
function returns the number of bytes that are processed. The pure
Python JSON parser currently operates on unicode, so it expects
that Parser.feed() returns a number of characters. This difference
leads to parsing errors when unicode characters are passed to the
C JSON parser from Python.
Signed-off-by: Terry Wilson <twilson@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Diffstat (limited to 'lib/dp-packet.h')
0 files changed, 0 insertions, 0 deletions