vars() weirdness on Python 2