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 gaige
Recipients gaige, ned.deily, ronaldoussoren, vstinner
Date 2019-12-11.15:57:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576079820.41.0.118189273463.issue39026@roundup.psfhosted.org>
In-reply-to
Content
I should have been more specific. Sorry about that.

Yes, when including <Python/Python.h> in Xcode, incorporating the framework. In particular, I'm embedding 3.8 in an application (previously used the system Framework, which was 2.7, which worked but Apple has warned that it may disappear....).  

The Xcode error is:

In file included from /Users/gaige/MyApp/Code/PythonImporter.m:10:
In file included from ../python-framework/Python.framework/Headers/Python.h:121:
In file included from ../python-framework/Python.framework/Headers/genobject.h:11:
In file included from ../python-framework/Python.framework/Headers/pystate.h:129:
../python-framework/Python.framework/Headers/cpython/pystate.h:10:10: fatal error: 'cpython/initconfig.h' file not found
#include "cpython/initconfig.h"
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.

python-framework is in the framework search path.

Let me know if there's something further I can clarify.
History
Date User Action Args
2019-12-11 15:57:00gaigesetrecipients: + gaige, ronaldoussoren, vstinner, ned.deily
2019-12-11 15:57:00gaigesetmessageid: <1576079820.41.0.118189273463.issue39026@roundup.psfhosted.org>
2019-12-11 15:57:00gaigelinkissue39026 messages
2019-12-11 15:57:00gaigecreate