bugfix: make interpolator.py portable between py27 and py34