Message395874
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. |
|
Date |
User |
Action |
Args |
2021-06-15 12:42:29 | ksurma | set | recipients:
+ ksurma, docs@python |
2021-06-15 12:42:29 | ksurma | set | messageid: <1623760949.4.0.2341930076.issue44426@roundup.psfhosted.org> |
2021-06-15 12:42:29 | ksurma | link | issue44426 messages |
2021-06-15 12:42:29 | ksurma | create | |
|