Handle py26, py27