Python3 and pymemc support