Python3

Port to python3.

Replace one call to map with comprehension.
Conditionalize ConfigParser vs configparser.
Explicitly list which versions of python we expect to work with.