On 02/02/2016 04:34 PM, Russell Bryant wrote:
> On 02/02/2016 04:24 PM, Ben Pfaff wrote:
>> On Fri, Jan 22, 2016 at 09:32:33PM -0500, Russell Bryant wrote:
>>> Python 3 has separate types for strings and bytes. Python 2 used the
>>> same type for both. We need to convert strings to bytes before w
On 02/02/2016 04:24 PM, Ben Pfaff wrote:
> On Fri, Jan 22, 2016 at 09:32:33PM -0500, Russell Bryant wrote:
>> Python 3 has separate types for strings and bytes. Python 2 used the
>> same type for both. We need to convert strings to bytes before writing
>> them out to a socket. We also need to co
On Fri, Jan 22, 2016 at 09:32:33PM -0500, Russell Bryant wrote:
> Python 3 has separate types for strings and bytes. Python 2 used the
> same type for both. We need to convert strings to bytes before writing
> them out to a socket. We also need to convert data read from the socket
> to a string.
Python 3 has separate types for strings and bytes. Python 2 used the
same type for both. We need to convert strings to bytes before writing
them out to a socket. We also need to convert data read from the socket
to a string.
Signed-off-by: Russell Bryant
---
python/ovs/jsonrpc.py | 10 +++