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 martin.panter
Recipients docs@python, martin.panter, vstinner
Date 2016-04-14.23:24:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460676255.19.0.526689084285.issue26638@psf.upfronthosting.co.za>
In-reply-to
Content
I’m not an expert on Sphinx. Maybe <http://www.sphinx-doc.org/en/stable/config.html#confval-suppress_warnings> could help with disabling these warnings. Considering there are so many false positives, it might be best to disable the warning. Though my patch does have a few genuine improvements as well.

I already used the :option:`-Wd <-W>` syntax in some cases; see Doc/library/warnings.rst for example. The problem in unittest.rst is I think Sphinx is trying to find a -W option defined within unittest.rst (with the unittest --buffer etc options), rather than the main Python options from using/cmdline.rst.
History
Date User Action Args
2016-04-14 23:24:15martin.pantersetrecipients: + martin.panter, vstinner, docs@python
2016-04-14 23:24:15martin.pantersetmessageid: <1460676255.19.0.526689084285.issue26638@psf.upfronthosting.co.za>
2016-04-14 23:24:15martin.panterlinkissue26638 messages
2016-04-14 23:24:15martin.pantercreate