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 serhiy.storchaka
Recipients docs@python, georg.brandl, jggammon, serhiy.storchaka
Date 2021-10-07.06:47:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633589227.57.0.269177625823.issue45397@roundup.psfhosted.org>
In-reply-to
Content
This looks like some Sphinx bug.

In Python 3.8, using Sphinx:

>>> from sphinx.pycode import ast
>>> ast.unparse(ast.parse("('Arial', 8, 'normal')", 'eval').body)
"'Arial', 8, 'normal'"

For comparison, using builtin ast module in Python 3.9:

>>> import ast
>>> ast.unparse(ast.parse("('Arial', 8, 'normal')", 'eval').body)
"('Arial', 8, 'normal')"
History
Date User Action Args
2021-10-07 06:47:07serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, docs@python, jggammon
2021-10-07 06:47:07serhiy.storchakasetmessageid: <1633589227.57.0.269177625823.issue45397@roundup.psfhosted.org>
2021-10-07 06:47:07serhiy.storchakalinkissue45397 messages
2021-10-07 06:47:07serhiy.storchakacreate