Re: Anybody here who could compile us a custom wxPython 3.0.2.0 version
Robin Dunn <[email protected]> Thu, 27 Sep 2018 12:36:00 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, September 18, 2018 at 2:08:41 AM UTC-7, AnToine van Maarle -
Alexion Software wrote:
>
> We don’t think we are doing something wrong. Creating and running a wx.App
> in a separate thread should work, right? The debug message is only a
> warning.
>
>
>
> Setting the assert mode to suppress doesn’t fix the problem. In 4.0 we can
> fix it by using: wx.DisableAsserts(). This function doesn’t seem to be
> available in wxPython 3.0.x.x
>
If the process is terminating right away then there isn't a hard need for
the cleanup function to be run, so you can just remove it from the atexit
list doing something like this after wx has been imported:
import atexit
try:
atexit._exithandlers.pop()
except AttributeError:
atexit.unregister(wx._core._wxPyCleanup)
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.