Fix the explicit warning for python 3.x