[PEAK] Trellis WXEventLoop patch
maluke at gmail.com
Wed Jun 25 19:36:35 EDT 2008
You're right. Also it should have been wx.CallLater, not CallAfter.
Here's a better example:
app = wx.PySimpleApp()
f = wx.Frame(None)
Phillip J. Eby wrote:
> At 01:00 AM 6/26/2008 +0300, Sergey Schetinin wrote:
>> Here's the minimal code that consistently crashes python for me:
>> import wx
>> app = wx.App()
>> wx.CallAfter(0.1, None)
>> I'm using the standard unicode build for Windows, wx.__version__ ==
>> For some reason the code above does not raise an exception when run
>> from console, but crashes when run as a script, could that be the
>> reason you don't see the error?
> The crash is happening when Python exits... or at least the core dump
> I'm getting with the above code does that.
> However, the crash happens if I use 1.1, or even 1, in place of 0.1, so
> this still seems to be barking up the wrong tree.
More information about the PEAK