re #13 python2+3 compatibility