> Is there a way that I can automatically have this happen for me, so
> that `win32com.server.util.wrap` will automatically be called on the
> way out of a method?

It should be possible to have your _dynamic_ method do this for you?
Instead of returning the result item, introspect what is returned and if it
is an instance with _public_methods_ etc, just explicitly do the wrap
yourself.

Or I'm missing something... :)

Cheers,

Mark

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to