[pywin32-bugs] [ pywin32-Patches-992182 ] pywin.tools.browser and objects without __class__
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-07-16 08:47:19
|
Patches item #992182, was opened at 2004-07-16 08:43 Message generated for change (Settings changed) made by nikis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=992182&group_id=78018 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Niki Spahiev (nikis) Assigned to: Nobody/Anonymous (nobody) >Summary: pywin.tools.browser and objects without __class__ Initial Comment: apparently some 'instances' of object has no __class__ attribute: >>> from pywintypes import IID >>> CLSID = IID('{737224C1-8E29-48E7-918F-09922E51B664}') >>> isinstance( CLSID, object ) True >>> CLSID.__class__ Traceback (most recent call last): File "<interactive input>", line 1, in ? AttributeError: 'PyIID' object has no attribute '__class__' this fix prevents browser craching on such objects ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=992182&group_id=78018 |