[pywin32-checkins] pywin32/com/win32com/client __init__.py,1.29,1.30
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: <mha...@us...> - 2003-09-02 00:09:47
|
Update of /cvsroot/pywin32/pywin32/com/win32com/client
In directory sc8-pr-cvs1:/tmp/cvs-serv31942
Modified Files:
__init__.py
Log Message:
When loading a gencache module for event support, don't bother validating
it against the typelib (only the functions that explicity imply generation
should validate)
Index: __init__.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/__init__.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** __init__.py 18 Mar 2003 07:11:49 -0000 1.29
--- __init__.py 2 Sep 2003 00:09:41 -0000 1.30
***************
*** 248,252 ****
tlb, index = ti.GetContainingTypeLib()
tla = tlb.GetLibAttr()
! gencache.EnsureModule(tla[0], tla[1], tla[3], tla[4])
# Get the class from the module.
disp_class = gencache.GetClassForProgID(str(disp_clsid))
--- 248,252 ----
tlb, index = ti.GetContainingTypeLib()
tla = tlb.GetLibAttr()
! gencache.EnsureModule(tla[0], tla[1], tla[3], tla[4], bValidateFile=0)
# Get the class from the module.
disp_class = gencache.GetClassForProgID(str(disp_clsid))
***************
*** 300,304 ****
tlb, index = ti.GetContainingTypeLib()
tla = tlb.GetLibAttr()
! gencache.EnsureModule(tla[0], tla[1], tla[3], tla[4])
# Get the class from the module.
disp_class = gencache.GetClassForProgID(str(disp_clsid))
--- 300,304 ----
tlb, index = ti.GetContainingTypeLib()
tla = tlb.GetLibAttr()
! gencache.EnsureModule(tla[0], tla[1], tla[3], tla[4], bValidateFile=0)
# Get the class from the module.
disp_class = gencache.GetClassForProgID(str(disp_clsid))
|