Hi Thomas, In what svn revision did you add those changes you mentioned? (implemented __call__ and extended __getitem__ etc)?
The last time comtypes/client/lazzybind.py was changed was in r450... is this correct? (svn tree is up to r459). I apologize if you just hadn't got around to committing it. Mick On 8/11/2008 7:49 AM, Thomas Heller wrote: > Michael Curran schrieb: >> Hi, >> >> Thanks for the explanation. If comtypes is already using the [] syntax >> for early bound interfaces, and if that is the most suitable way, then >> that sounds ok to me. I agree that it is important to keep dyn dispatch >> interfaces as compatible with early bound interfaces as possible. >> >> So, I also in that case do also think that __call__ should be >> implemented. In order so that named properties with optional or needed >> arguments can be called with () for getting, even though you could also >> use the [] syntax as well. >> In our projects, and I suspect others, comtypes early bound propgets >> with arguments are called with (), I never new about []. > > Hm, I didn't remember it but property access syntax IS even documented > for quite some time here: > > http://starship.python.net/crew/theller/comtypes/#accessing-properties > > Besides that, I have now in the dyndispatch-branch added the call syntax > to get properties, and extended the __getitem__ and __setitem__ calls > so that [...] property access (both get and put) works with one or more > arguments, in the same way as the early bound case. > > Thomas > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK& win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > comtypes-users mailing list > comtypes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/comtypes-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users