Fix DeprecationWarning: automatic int conversions have been deprecated in Python 3.4