Revert "Fix a header file in python, so that #include <python3.9/Python.h> works."

This reverts commit 2772bb9c30.

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.
This commit is contained in:
Xi Ruoyao 2021-04-22 01:29:53 +08:00
parent 0739fa74da
commit 24c34df04f
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC
2 changed files with 10 additions and 4 deletions

View File

@ -43,6 +43,16 @@
appropriate for the entry or if needed the entire day's listitem. appropriate for the entry or if needed the entire day's listitem.
--> -->
<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> <listitem>
<para>2021-04-06</para> <para>2021-04-06</para>
<itemizedlist> <itemizedlist>

View File

@ -42,10 +42,6 @@
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Python 3</title> <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> <para>Prepare Python for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \ <screen><userinput remap="configure">./configure --prefix=/usr \