[ovs-dev] [PATCH 3/3] JSON serialization via Python's json lib
Ben Pfaff
blp at ovn.org
Wed Jun 8 18:46:05 UTC 2016
On Wed, Jun 08, 2016 at 08:55:15AM -0500, Terry Wilson wrote:
> There is no particularly good reason to use our own Python JSON
> serialization implementation when serialization can be done faster
> with Python's built-in JSON library.
>
> A few tests were changed due to Python's default JSON library
> returning slightly more precise floating point numbers.
>
> Signed-off-by: Terry Wilson <twilson at redhat.com>
I get a build failure which is probably because I run "configure" in a
directory different from the source directory:
(cd python/ && /usr/bin/python3 setup.py build_ext --inplace)
/bin/bash: line 0: cd: python/: No such file or directory
Makefile:6149: recipe for target '../python/ovs/_json.cpython-35m-i386-linux-gnu.so' failed
Also it's not necessary to put Makefile commands in parentheses since
they always run in a subshell anyway.
Thanks,
Ben.
More information about the dev
mailing list