[python-win32] pythoncom.new behavior in build 200/201
Kerry Oliphant
koliphant at qwest.net
Fri Apr 30 18:45:24 EDT 2004
Has anyone noticed that pythoncom.new does not behave the same as it used
to.
Previously one could pass it something like this:
CLSID = IID('{D5193935-0382-4448-A309-60C38795FB60}')
pythoncom.new( CLSID )
but in builds 200/201 the above call results in the following error.
TypeError: Only strings and iids can be converted to a CLSID.
pythoncom.new( str(CLSID) ) will work. It appears the pythoncom.new cannot
handle a pyIID object.
Any thoughts?
Kerry
More information about the Python-win32
mailing list