Enhancement: Use constant like variables to abstract differences between
Python2 and Python3