python 3 and lint updates