python2 compatibility and osx tkinter doublevar