change configparser an errors only for python3