Lose code golf, win Python 2.6 compatibility