small preparations for Python3