[ovs-git] [openvswitch/ovs] 91a322: python: make python idl unicode-tolerant

GitHub noreply at github.com
Wed Aug 9 20:11:04 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: 91a322a3ac91c4e47afd6f9a92eedeeb1a61d205
      https://github.com/openvswitch/ovs/commit/91a322a3ac91c4e47afd6f9a92eedeeb1a61d205
  Author: Lance Richardson <lrichard at redhat.com>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M python/ovs/json.py
    M python/ovs/jsonrpc.py
    M python/ovs/stream.py
    M tests/ovsdb-idl.at
    M tests/test-ovsdb.py

  Log Message:
  -----------
  python: make python idl unicode-tolerant

Ensure that JSON is utf-8 encoded and that bytes sent/received on
the stream sockets are in utf-8 form. Add a test case to verify
that unicode data can be sent/received successfully using Python
IDL module.

Co-authored-by: Terry Wilson <twilson at redhat.com>
Signed-off-by: Terry Wilson <twilson at redhat.com>
Signed-off-by: Lance Richardson <lrichard at redhat.com>
Signed-off-by: Russell Bryant <russell at ovn.org>




More information about the git mailing list