belovedbob at XXgreennet.net
Thu Jan 27 23:30:40 EST 2005
I've been looking at the client side com stuff in __init__.py in the
client subdirectory under win32com, and some of the routines do exactly
that. Certainly DispatchWithEvents tries to generate that, and I
thought Dispatch does before returning a late binding object.
Hope this helps,
Tom Willis wrote:
>Just a general question.
>It seems in COM late binding is something that should be avoided if possible.
>Because python seems to be really good at doing thing dynamically I'm
>wondering why no one has figured out how to make the functionality in
>makepy fire automagically when you need it.
>For example, it would be nice if you are creating an object
>repeatedly(ADODB.Recordset) that some logic would trigger whatever
>makepy does to generate and cache the modules generated from the
>typelib that's accessed.
>It would be cool, that's all I'm saying. I'm sure the standard
>response is "Why don't you write it" and maybe I will, I'm just
>wondering if anyone has thought of it before and is working on it or
More information about the Python-list