[ovs-dev] [PATCH 00/11] Python 3, continued ...
Russell Bryant
russell at ovn.org
Sat Jan 23 02:32:22 UTC 2016
This is another series of Python 3 compatibility fixes. All tests continue
to pass with Python 2 with these changes applied.
There will be one more patch series after this one which primarily refactors
the test suite to run Python tests with both Python 2 and 3.
Russell Bryant (11):
python: Drop usage of long type.
python: Drop unicode type.
python: Drop use of types.StringTypes.
python: Drop use of types.FunctionType.
python: Don't use StringIO directly.
python: Drop use of sys.maxint.
python: Use six.unichr().
python: Remove reamining direct type comparisons.
python: Don't compare None and int.
python: Fix object comparisons in Python 3.
python: Deal with str and byte differences.
python/ovs/db/data.py | 51 ++++++++++++++++++++++--------
python/ovs/db/idl.py | 47 ++++++++++++++++++----------
python/ovs/db/parser.py | 33 ++++++++++++--------
python/ovs/db/schema.py | 23 +++++++-------
python/ovs/db/types.py | 70 +++++++++++++++++++++++++-----------------
python/ovs/json.py | 53 +++++++++++++++++++-------------
python/ovs/jsonrpc.py | 20 +++++++++---
python/ovs/ovsuuid.py | 5 +--
python/ovs/reconnect.py | 2 +-
python/ovs/socket_util.py | 5 ++-
python/ovs/stream.py | 6 ++++
python/ovs/unixctl/__init__.py | 6 ++--
python/ovs/unixctl/client.py | 5 +--
python/ovs/unixctl/server.py | 6 ++--
python/ovs/vlog.py | 2 +-
python/ovstest/args.py | 2 +-
python/ovstest/tests.py | 4 +--
tests/test-json.py | 3 +-
tests/test-ovsdb.py | 7 +++--
tests/test-reconnect.py | 2 +-
20 files changed, 225 insertions(+), 127 deletions(-)
--
2.5.0
More information about the dev
mailing list