Re: [python-win32] Two more DispatchWithEvents questoins

2007-06-12 Thread Mark Hammond
> Two questions: > > Question 1: Is it safe in the __init__ code for the user > event class to > execute any methods or reference any attributes of the disp_class? In > particular, I am concerned about what might happen if a > method in disp_class > was referenced that caused an event that would b

[python-win32] Two more DispatchWithEvents questoins

2007-06-09 Thread Richard Bell
When DispatchWithEvents is used a new object is returned that (according to the code on sourceforge http://pywin32.cvs.sourceforge.net/pywin32/pywin32/com/win32com/client/__ini t__.py?revision=1.34&view=markup) 216 It is important to note that the returned instance is not a direct 217 ins