new method values retrieval python 2.6+