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.
Created on 2020年09月11日 10:45 by vstinner, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 22199 | closed | vstinner, 2020年09月11日 11:50 | |
| PR 22281 | merged | vstinner, 2020年09月16日 15:03 | |
| PR 22300 | merged | miss-islington, 2020年09月18日 07:10 | |
| PR 22301 | merged | miss-islington, 2020年09月18日 07:12 | |
| Messages (14) | |||
|---|---|---|---|
| msg376717 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月11日 10:45 | |
https://travis-ci.com/github/python/cpython/jobs/383579366 Warning, treated as error: /home/travis/build/python/cpython/Doc/library/string.rst:311:duplicate token description of format_spec, other instance in reference/lexical_analysis |
|||
| msg376718 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月11日 10:49 | |
There are two format_spec definitions: "format_spec ::= [[fill]align][sign][#][0][width][grouping_option][.precision][type]" https://docs.python.org/dev/library/string.html#format-specification-mini-language "format_spec ::= (literal_char | NULL | replacement_field)*" https://docs.python.org/dev/reference/lexical_analysis.html#formatted-string-literals |
|||
| msg376722 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月11日 11:16 | |
I failed to reproduce the issue locally. I tried: cd Doc make clean make venv PYTHON=../python ./venv/bin/python -m pip install sphinx==2.2.0 blurb python-docs-theme make check suspicious html SPHINXOPTS="-q -W -j4" |
|||
| msg376726 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月11日 12:07 | |
Oh. It seems like the warning only occurs randomly!? It is gone on one of my PR. |
|||
| msg376765 - (view) | Author: Dong-hee Na (corona10) * (Python committer) | Date: 2020年09月12日 02:58 | |
>>> sphinx.__version__ '3.2.1 I can reproduce this issue consistantly on my local machine with this environment. |
|||
| msg376774 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2020年09月12日 04:28 | |
Two issues about Sphinx 3.2.1 failing with "duplicate token description" (posted on both) #41760 'sign', multiple people nosy, failed where? #41762 'format_spec', on Travis, PR by Victor Stinner (2.2.0 okay) |
|||
| msg376787 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月12日 06:55 | |
I closed bpo-41760 as a duplicate of this issue. |
|||
| msg376788 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月12日 06:55 | |
> I closed bpo-41760 as a duplicate of this issue. The error message was different but similar: Warning, treated as error: /<<PKGBUILDDIR>>/Doc/library/string.rst:311:duplicate token description of sign, other instance in library/functions |
|||
| msg376999 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月16日 14:43 | |
".. productionlist::" markup is related to "Grammar production displays": https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#grammar-production-displays We can try to pass a different unique name to each ".. productionlist::" markup: "The productionGroup argument to productionlist serves to distinguish different sets of production lists that belong to different grammars. Multiple production lists with the same productionGroup thus define rules in the same scope." |
|||
| msg377089 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月18日 07:10 | |
New changeset 8af239eacfcf52e4e0e2b0223e7cea4672309483 by Victor Stinner in branch 'master': bpo-41762: Fix usage of productionlist markup in the doc (GH-22281) https://github.com/python/cpython/commit/8af239eacfcf52e4e0e2b0223e7cea4672309483 |
|||
| msg377091 - (view) | Author: miss-islington (miss-islington) | Date: 2020年09月18日 07:27 | |
New changeset c053402927d36f9f26160ded24999bf5109ea5eb by Miss Islington (bot) in branch '3.9': bpo-41762: Fix usage of productionlist markup in the doc (GH-22281) https://github.com/python/cpython/commit/c053402927d36f9f26160ded24999bf5109ea5eb |
|||
| msg377095 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月18日 08:31 | |
New changeset c5cddc17b5c046bb22072c1cf58b898c7ab92e07 by Miss Islington (bot) in branch '3.8': bpo-41762: Fix usage of productionlist markup in the doc (GH-22281) (GH-22300) https://github.com/python/cpython/commit/c5cddc17b5c046bb22072c1cf58b898c7ab92e07 |
|||
| msg377096 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2020年09月18日 08:32 | |
I fixed the issue. See bpo-35293 for deprecation warnings. |
|||
| msg378058 - (view) | Author: Łukasz Langa (lukasz.langa) * (Python committer) | Date: 2020年10月05日 16:10 | |
New changeset e5cc5fd89cc8855ad644ce4ba5e7de766313e418 by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-41762: Fix usage of productionlist markup in the doc (GH-22281) https://github.com/python/cpython/commit/e5cc5fd89cc8855ad644ce4ba5e7de766313e418 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:35 | admin | set | github: 85928 |
| 2020年10月05日 16:10:20 | lukasz.langa | set | nosy:
+ lukasz.langa messages: + msg378058 |
| 2020年09月18日 08:32:20 | vstinner | set | status: open -> closed versions: + Python 3.8, Python 3.9 messages: + msg377096 resolution: fixed stage: patch review -> resolved |
| 2020年09月18日 08:31:32 | vstinner | set | messages: + msg377095 |
| 2020年09月18日 07:27:31 | miss-islington | set | messages: + msg377091 |
| 2020年09月18日 07:12:06 | miss-islington | set | pull_requests: + pull_request21350 |
| 2020年09月18日 07:10:32 | miss-islington | set | nosy:
+ miss-islington pull_requests: + pull_request21349 |
| 2020年09月18日 07:10:24 | vstinner | set | messages: + msg377089 |
| 2020年09月16日 15:03:09 | vstinner | set | pull_requests: + pull_request21333 |
| 2020年09月16日 14:43:41 | vstinner | set | messages: + msg376999 |
| 2020年09月16日 00:47:34 | cameron | set | nosy:
+ cameron |
| 2020年09月12日 06:55:55 | vstinner | set | messages: + msg376788 |
| 2020年09月12日 06:55:11 | vstinner | set | messages: + msg376787 |
| 2020年09月12日 06:54:53 | vstinner | link | issue41760 superseder |
| 2020年09月12日 04:28:16 | terry.reedy | set | nosy:
+ terry.reedy messages: + msg376774 |
| 2020年09月12日 02:58:31 | corona10 | set | nosy:
+ corona10 messages: + msg376765 |
| 2020年09月11日 12:07:33 | vstinner | set | messages: + msg376726 |
| 2020年09月11日 11:50:50 | vstinner | set | keywords:
+ patch stage: patch review pull_requests: + pull_request21258 |
| 2020年09月11日 11:16:19 | vstinner | set | messages: + msg376722 |
| 2020年09月11日 10:49:11 | vstinner | set | nosy:
+ pablogsal, BTaskaya messages: + msg376718 |
| 2020年09月11日 10:45:24 | vstinner | create | |