Autocommit is not an option for python 3