This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdehoon
Recipients mdehoon, ronaldoussoren
Date 2010-06-01.14:12:58
SpamBayes Score 2.6329633e-05
Marked as misclassified No
Message-id <1275401583.76.0.0937518467482.issue8868@psf.upfronthosting.co.za>
In-reply-to
Content
(The discussion for this bug started on the pythonmac-sig mailing list; see http://mail.python.org/pipermail/pythonmac-sig/2010-May/022362.html)

When I try to install Python as a framework:

./configure --enable-framework
make
make install

then Python gets installed under /Library/Frameworks/Python.framework/Versions/2.7, but it doesn't seem to function as a framework:

>>> import MacOS
>>> MacOS.WMAvailable()
False
>>> 

Python 2.6.5 returns True here. This is important for GUI extension modules; such modules do not interact correctly with the window manager if Python is not installed as a framework.

I see the same behavior with the current Python in trunk with Mac OS X 10.4 and 10.5 both with Python installed from source and the precompiled python 2.7b2. Python revision 77030 seems to be the last revision without this problem. In revision 77031, posix_spawn() was introduced instead of execv() in pythonw.c to start the Python executable.
History
Date User Action Args
2010-06-01 14:13:03mdehoonsetrecipients: + mdehoon, ronaldoussoren
2010-06-01 14:13:03mdehoonsetmessageid: <1275401583.76.0.0937518467482.issue8868@psf.upfronthosting.co.za>
2010-06-01 14:13:00mdehoonlinkissue8868 messages
2010-06-01 14:12:58mdehooncreate