Python 3 porting.
Update versions.
True and False are keywords and cannot be assigned in Py3.