This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author markm
Recipients markm
Date 2011-03-28.15:13:42
SpamBayes Score 6.752339e-08
Marked as misclassified No
Message-id <1301325222.81.0.910767875041.issue11702@psf.upfronthosting.co.za>
In-reply-to
Content
Running the following code:

>>> import msilib
>>> db  = msilib.OpenDatabase('c:/windows/installer/1c7a1.msi', 1)
>>> db
<_msi.Database object at 0x01E230A0>
>>> dir(db)

(Python crashes - tested on current Trunk and Python 2.7.1).

I tried tracking it through the C code - and it seems to be a problem when dir is checking for __dir__ (the pointer in PyObject_GetAttrString seems to be incorrect).
History
Date User Action Args
2011-03-28 15:13:42markmsetrecipients: + markm
2011-03-28 15:13:42markmsetmessageid: <1301325222.81.0.910767875041.issue11702@psf.upfronthosting.co.za>
2011-03-28 15:13:42markmlinkissue11702 messages
2011-03-28 15:13:42markmcreate