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 ezio.melotti
Recipients JelleZijlstra, berker.peksag, brett.cannon, ezio.melotti, marco.buttu, python-dev, r.david.murray, terry.reedy, zach.ware
Date 2017-01-02.20:42:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483389760.97.0.576349669843.issue27200@psf.upfronthosting.co.za>
In-reply-to
Content
I left a few comments on rietveld,
In general, if making the doctest pass entails adding superfluous code (e.g. sorted(), <BLANKLINES>, #doctest: +SKIP (if visible), setups/teardowns, or even whole files) or removing details that might be useful (ids or filenames in reprs), I'd rather skip the snippet altogether.

Keep in mind that most of those snippets are there to document, not for testing, so imho the priority should be keeping them clear and to the point.
The behavior of those snippets should already be covered by unittest, so the only downside of skipping is that, if the behavior changes, the examples will be wrong until someone notices.

If others agree, this should make the patch simpler and easier to review; if not, breaking it down in 3-4 patches that address separate issue might also help reviewers.
History
Date User Action Args
2017-01-02 20:42:41ezio.melottisetrecipients: + ezio.melotti, brett.cannon, terry.reedy, r.david.murray, python-dev, berker.peksag, zach.ware, marco.buttu, JelleZijlstra
2017-01-02 20:42:40ezio.melottisetmessageid: <1483389760.97.0.576349669843.issue27200@psf.upfronthosting.co.za>
2017-01-02 20:42:40ezio.melottilinkissue27200 messages
2017-01-02 20:42:40ezio.melotticreate