johnf wrote:
> In the method raiseEvent() I found "if True or eventClass is 
> dabo.dEvents.Destroy:"  is that correct?  Is it somebody's debug code?
> 
> def raiseEvent(self, eventClass, nativeEvent=None, *args, **kwargs):
>               """Raise the passed Dabo event."""
>               # Call the Dabo-native raiseEvent(), passing along the 
> wx.CallAfter
>               # function, so that the Dabo events can be processed at next 
> idle.
>       
>               if not self:
>                       # Continuing isn't possible, as the wxPython object is 
> already gone.
>                       # Perhaps we should log this too?
>                       return
>       
>               ##- 2004/01/07: Problems with segfaults and illegal 
> instructions in some 
> cases
>               ##-             with the wx.CallAfter. Revert back for now to 
> calling in the
>               ##-             callstack.
>               if True or eventClass is dabo.dEvents.Destroy:

You can use "svn blame dPemMixin.py" to find out that paul did this
change in revision 698.
So i do not think that this is for debugging.

Uwe


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to