[issue7812] Call to gestalt('sysu') on OSX can lead to freeze in wxPython apps
report at bugs.python.org
Sat Jan 30 16:57:44 CET 2010
New submission from Peter Hansen <peter at engcorp.com>:
In platform.mac_ver() there is a call to look up Mac version info, which results in a call to gestalt.gestalt('sysu'). This call is useless since, as documented in comments in the function the "sysu" option no longer exists, but the call was left in "as documentation".
Unfortunately, as described in http://groups.google.com/group/wxpython-users/browse_thread/thread/ced6c57cc84cb252 this call has the unfortunate and mysterious (but conclusively proven) side effect of preventing a wxPython app from running the GUI main loop in any thread other than the main thread (or rather, the one in which this failing call to gestalt() is first made).
See also http://bugs.python.org/issue780461 for some related background.
assignee: -> ronaldoussoren
title: Call to gestalt('sysu') on -> Call to gestalt('sysu') on OSX can lead to freeze in wxPython apps
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list