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 serhiy.storchaka
Recipients Tomáš Petříček, jbakker, r.david.murray, rhettinger, serhiy.storchaka, tim.peters
Date 2017-11-20.07:50:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <2408081.UrF8LjUsE8@saraksh>
In-reply-to <1511117907.83.0.213398074469.issue32042@psf.upfronthosting.co.za>
Content
> Although that functionality is already easily handled; for example, here's 
the OP's first example rewritten to be independent of the dict's representation 
ordering:
> >>> dict_fun() == {'foo': 1, 'bar': 2}
> 
> True

Oh, right. I remember the headache caused by dict order randomization, but 
forgot about this option. Currently doctests are rarely used in CPython tests.
History
Date User Action Args
2017-11-20 07:50:04serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, r.david.murray, jbakker, Tomáš Petříček
2017-11-20 07:50:04serhiy.storchakalinkissue32042 messages
2017-11-20 07:50:04serhiy.storchakacreate