Re: [ovs-dev] [PATCH v5] JSON serialization via Python's json lib

2016-07-29 Thread Terry Wilson
On Fri, Jul 29, 2016 at 12:27 AM, Ben Pfaff wrote: > On Mon, Jul 25, 2016 at 06:55:49PM -0500, Terry Wilson wrote: >> Sigh. And of course I had libopenvswitch installed on the system as >> well and removing it breaks building the extensions with the above >> patch. This is the kind

Re: [ovs-dev] [PATCH v5] JSON serialization via Python's json lib

2016-07-28 Thread Ben Pfaff
On Mon, Jul 25, 2016 at 06:55:49PM -0500, Terry Wilson wrote: > Sigh. And of course I had libopenvswitch installed on the system as > well and removing it breaks building the extensions with the above > patch. This is the kind of thing that would be much easier if the > Python lib was its own

Re: [ovs-dev] [PATCH v5] JSON serialization via Python's json lib

2016-07-25 Thread Terry Wilson
Sigh. And of course I had libopenvswitch installed on the system as well and removing it breaks building the extensions with the above patch. This is the kind of thing that would be much easier if the Python lib was its own project with its own test suite and it could just always assume

[ovs-dev] [PATCH v5] JSON serialization via Python's json lib

2016-07-25 Thread Terry Wilson
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.

Re: [ovs-dev] [PATCH v5] JSON serialization via Python's json lib

2016-06-23 Thread Ben Pfaff
On Fri, Jun 10, 2016 at 01:54:42AM -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

[ovs-dev] [PATCH v5] JSON serialization via Python's json lib

2016-06-10 Thread Terry Wilson
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.