homepage

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 marco.buttu
Recipients docs@python, evan_, marco.buttu
Date 2017年01月04日.09:14:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483521298.67.0.658350031768.issue29133@psf.upfronthosting.co.za>
In-reply-to
Content
I did not add the doctest directive on purpose. In fact, if in the future we start running the doctests with buildbot (see issue27200), the tests related to this issue will pass only for Python >= 3.6. If we _currently_ want the doctests to pass for every Python version, I see only two solutions:
1) we do not have to doctest the example, as I did in issue29133_2nd.patch
2) we have to apply two patches, one with doctests (for the doc to be tested with Python >= 3.6), and another one without doctests (for the doc to be tested with Python < 3.6).
I think the best solution is to add an option to the doctest directive, that allows us to specify for which Python version the tests have to be run:
https://github.com/sphinx-doc/sphinx/issues/3303
I would like the commiters to give a feedback about this, because if they think this solution is doable, then I will spend the time to work on the Sphinx issue.
History
Date User Action Args
2017年01月04日 09:14:58marco.buttusetrecipients: + marco.buttu, docs@python, evan_
2017年01月04日 09:14:58marco.buttusetmessageid: <1483521298.67.0.658350031768.issue29133@psf.upfronthosting.co.za>
2017年01月04日 09:14:58marco.buttulinkissue29133 messages
2017年01月04日 09:14:58marco.buttucreate

AltStyle によって変換されたページ (->オリジナル) /