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 ksurma
Recipients docs@python, ksurma
Date 2021-06-15.12:42:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623760949.4.0.2341930076.issue44426@roundup.psfhosted.org>
In-reply-to
Content
Hello all,
I want to build Python 3.10~b2 documentation using Sphinx 4.0.2 (released in May 2021) as RPM in Fedora with aim to ship it in Fedora 35.

The build fails with the following error:

Warning, treated as error:
/builddir/build/BUILD/Python-3.10.0b2/Doc/c-api/complex.rst:49:Error in declarator or parameters
Error in declarator or parameters
Invalid C declaration: Expected identifier, got keyword: complex [error at 39]
  Py_complex _Py_c_neg(Py_complex complex)
  ---------------------------------------^
make: *** [Makefile:51: build] Error 2


The Sphinx changelog mentions in Bug fixes in https://www.sphinx-doc.org/en/master/changes.html#id21 the likely cause:
C, properly reject function declarations when a keyword is used as parameter name.
History
Date User Action Args
2021-06-15 12:42:29ksurmasetrecipients: + ksurma, docs@python
2021-06-15 12:42:29ksurmasetmessageid: <1623760949.4.0.2341930076.issue44426@roundup.psfhosted.org>
2021-06-15 12:42:29ksurmalinkissue44426 messages
2021-06-15 12:42:29ksurmacreate