P3K: use __future__ import instead of casting to int