[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-10-07 08:52:02
|
Patches item #992182, was opened at 2004-07-16 18:43 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=992182&group_id=78018 Category: None Group: None >Status: Closed >Resolution: Fixed 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 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2004-10-07 18:51 Message: Logged In: YES user_id=14198 Checking in browser.py; new revision: 1.7; previous revision: 1.6 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=992182&group_id=78018 |