[spp] [PATCH 0/3] Update for Python 3 support

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Tue May 15 03:20:01 CEST 2018


From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>

Hi,

This seriese of patches is for adding Python3 support for SPP
controller. It is still keeping compatibility with Python 2.

Second patch is for explicitly encode or decode for socket messages.
It is because default encoding is changed to utf-8 in Python 3 and
should be encoded/decoded for running on both of Python 2 and 3.

Thanks,
Yasufumi


Yasufumi Ogawa (3):
  controller: change importing for python3
  controller: fix encoding for socket
  docs: add description for python 3 support

 docs/guides/setup/getting_started.rst | 17 ++++++++++++--
 src/controller/conn_thread.py         | 19 ++++++++-------
 src/controller/shell.py               | 34 ++++++++++++++-------------
 src/controller/spp.py                 | 21 +++++++++--------
 src/controller/spp_common.py          |  2 +-
 src/controller/topo.py                |  4 ++--
 src/spp.py                            |  1 +
 7 files changed, 59 insertions(+), 39 deletions(-)

-- 
2.17.0



More information about the spp mailing list