The measure for predictable port numbering was done with python3 in mind, without consideration of python2.