if python >=2.7  use the option allow_no_value=True for ini_file.
Merge pull request #8455 from nicocesar/version_check

if python >=2.7  use the option allow_no_value=True for ini_file.