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 andrewtomazos
Recipients andrewtomazos, eric.smith, jpelizza
Date 2021-02-26.08:11:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614327079.85.0.62616574828.issue40642@roundup.psfhosted.org>
In-reply-to
Content
The problem occurs if you:

   #include <python3.8/Python.h>

on *nix systems.  Note `/usr/include/` is in the system include path.  One workaround is to `-I/usr/include/python3.8` and then `#include <Python.h>`.  Another workaround is to comment out:

   // #include "cpython/initconfig.h"

in `cpython/pystate.h`.

A fix would be appreciated, so that `#include <python3.8/Python.h>` would work out of the box (without having to add `-I`).
History
Date User Action Args
2021-02-26 08:11:19andrewtomazossetrecipients: + andrewtomazos, eric.smith, jpelizza
2021-02-26 08:11:19andrewtomazossetmessageid: <1614327079.85.0.62616574828.issue40642@roundup.psfhosted.org>
2021-02-26 08:11:19andrewtomazoslinkissue40642 messages
2021-02-26 08:11:19andrewtomazoscreate