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 tim.peters
Recipients endolith, jedie, rhettinger, tarek, tim.peters
Date 2014年08月30日.03:50:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409370636.42.0.993723735193.issue3332@psf.upfronthosting.co.za>
In-reply-to
Content
This should remain closed. It's "a feature" that doctest demands exact textual equality, and that the only way to override this is with one of the `#doctest:` flags. "What you see is what you get - exactly" is one of doctest's fundamental design goals.
If you would like to open a different report, suggesting (e.g.) a new "#doctest: object_equality" flag, go ahead. But I don't expect that would get a warm reception: there are many ways to write doctests with sets and dicts that already work fine. That you may have to add additional functions to make them pass in all cases isn't a bug: it's being explicit about that the raw unprocessed output is _not_ reliable.
If you don't want that level of pickiness, fine, use something else :-)
History
Date User Action Args
2014年08月30日 03:50:36tim.peterssetrecipients: + tim.peters, rhettinger, jedie, tarek, endolith
2014年08月30日 03:50:36tim.peterssetmessageid: <1409370636.42.0.993723735193.issue3332@psf.upfronthosting.co.za>
2014年08月30日 03:50:36tim.peterslinkissue3332 messages
2014年08月30日 03:50:35tim.peterscreate

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