new sync module support for python 3