Berker Peksag <berker.pek...@gmail.com> added the comment: Thank you, all. The OP's snippet should work now:
>>> import msilib as m >>> db = m.OpenDatabase('py33.msi', m.MSIDBOPEN_TRANSACT) >>> db.Commit() >>> db2 = m.OpenDatabase('py33.msi', m.MSIDBOPEN_TRANSACT) Traceback (most recent call last): File "<stdin>", line 1, in <module> _msi.MSIError: 1: 2203 2: py33.msi 3: -2147287008 >>> db.Close() >>> db2 = m.OpenDatabase('py33.msi', m.MSIDBOPEN_TRANSACT) I didn't backport this to bugfix branches since we added a new public function to the API. ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue20486> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com