Attention is currently required from: laforge, osmith, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/mncc-python/+/36318?usp=email )
Change subject: Initial port from python2 to python3 ......................................................................
Patch Set 4: Code-Review+1
(1 comment)
File mncc_test.py:
https://gerrit.osmocom.org/c/mncc-python/+/36318/comment/58eea7be_508dd113 PS4, Line 73: nr /= 2 Oh, btw, I didn't notice this earlier, but doing `/=` would convert `nr` from `int` to `float`, what would then result into a `TypeError` exception.
```
nr = 8 nr /= 2 nr
4.0
range(nr)
Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'float' object cannot be interpreted as an integer ```
In py2, you would get either `int` or `float`, but in py3 you always get `float`. Use `//=` instead.