py3k compatibile imports