[python-win32] Parameterless propget in Python ActiveScript incomplete

Johan Lindvall johan.lindvall at gmail.com
Fri Oct 27 11:59:41 CEST 2006


Hi,

I have investigated this issue further.

The problem seems to be that LazyDispatchItem doesn't remap the
properties as DispatchItem does. If I disable the LazyDispatchItem
generation in MakeOleRepr and always return a DispatchItem object, the
script works as expected.

If I leave MakeOleRepr untouched and use the original property name:

obj1.Object2.AttValue("TEST", 123)

then I get another the following error from Python:

TypeError: AttValue() takes at most 2 arguments (3 given).


-- 
/Johan.


More information about the Python-win32 mailing list