close to having py3k compatilbe Cython code.