New submission from Peter Hansen <pe...@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
components: +Macintosh
nosy: +ronaldoussoren
title: Call to gestalt('sysu') on -> Call to gestalt('sysu') on OSX can lead to 
freeze in wxPython apps

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7812>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to