[issue11702] dir on return value of msilib.OpenDatabase() crashes python

Amaury Forgeot d'Arc report at bugs.python.org
Tue Mar 29 00:28:36 CEST 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

A call to PyType_Ready() fixes the issue, see attached patch.
I added a test that opens a random file in c:\windows\installer, I don't know if this is correct for all Windows version.

----------
keywords: +patch
nosy: +amaury.forgeotdarc
stage:  -> patch review
Added file: http://bugs.python.org/file21445/msi_opendatabase.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11702>
_______________________________________


More information about the Python-bugs-list mailing list