I have released comtypes 0.4.1. Enjoy, Thomas New function comtypes.client.PumpEvents(timeout) which will make sure that COM events are dispatched.
Added a postinstall script to the installer which will clear the comtypes.gen directory to avoid strange effects when generated modules are out of date. Several small bugfixes, see the ChangeLog. Changes since version 0.4.0: 2007-11-23 Thomas Heller <[EMAIL PROTECTED]> * Released version comtypes 0.4.1. * Add a PumpEvents(timeout) function to comtypes.client. This function calls the win32 CoWaitForMultipleHandles() function which will wait in a way compatible with all types of apartments; additionally this function can be interrupted with Control+C. 2007-11-21 Thomas Heller <[EMAIL PROTECTED]> * comtypes\__init__.py: Add docstrings to special methods. Make named_property a data descriptor by providing a __set__ method (which will raise AttributeError when called). 2007-11-15 Thomas Heller <[EMAIL PROTECTED]> * comtypes\__init__.py: Fix bound_named_property.__setitem__ so that COM properties can be set that require zero or more than one arguments. * comtypes\__init__.py: Restructure the code that extend the COM interface subclasses with __len__, __call__, __getitem__, and __iter__ methods. This is done with the comtypes.partial module, and apparently had strange behaviour when the code is run under a debugger. 2007-11-07 Thomas Heller <[EMAIL PROTECTED]> * Changed version number to 0.4.1. * Add an post-install script that will (after confirmation) remove the comtypes\gen directory containing the generated modules. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users