python2-python3 compatibility for configparser import