← 输入框|bugs.python.org|刷新

➜

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.

作者 andrewtomazos
收信人 andrewtomazos, eric.smith, jpelizza
日期 2021-02-26.08:11:19
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1614327079.85.0.62616574828.issue40642@roundup.psfhosted.org>
In-reply-to
内容
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`).
历史
日期 用户 动作 参数
2021-02-26 08:11:19andrewtomazos修改recipients: + andrewtomazos, eric.smith, jpelizza
2021-02-26 08:11:19andrewtomazos修改messageid: <1614327079.85.0.62616574828.issue40642@roundup.psfhosted.org>
2021-02-26 08:11:19andrewtomazos链接issue40642 messages
2021-02-26 08:11:19andrewtomazos创建