aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-04-22 01:29:53 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-04-22 01:32:11 +0800
commit24c34df04f41d899ba7077bb9d86ba157defaded (patch)
tree02128096d4dc48461f2dc7f9e7484e594af56eb3
parent0739fa74da74f8b9e3c33745c7d8f68fed078466 (diff)
Revert "Fix a header file in python, so that #include <python3.9/Python.h> works."
This reverts commit 2772bb9c30d8bc9fe97405cf6135c7b43ac0aa16. Python maintainers rejects the proposed fix in https://bugs.python.org/issue39026. We'll need to make a correct fix, or patch the downstream packages instead.
-rw-r--r--chapter01/changelog.xml10
-rw-r--r--chapter08/python.xml4
2 files changed, 10 insertions, 4 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index e2f199f3b..2e7325eb3 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -44,6 +44,16 @@
-->
<listitem>
+ <para>2021-04-22</para>
+ <itemizedlist>
+ <listitem>
+ <para>[xry111] - Revert 2772bb9c, as the proposed fix in it is
+ rejected by Python maintainers explicitly.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2021-04-06</para>
<itemizedlist>
<listitem>
diff --git a/chapter08/python.xml b/chapter08/python.xml
index 27384e94c..b71822b9b 100644
--- a/chapter08/python.xml
+++ b/chapter08/python.xml
@@ -42,10 +42,6 @@
<sect2 role="installation">
<title>Installation of Python 3</title>
- <para>First, a header file needs to be fixed:</para>
-
-<screen><userinput remap="pre">sed 's|cpython/||' -i Include/cpython/pystate.h</userinput></screen>
-
<para>Prepare Python for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \