Message306530
> 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. |
|
| Date |
User |
Action |
Args |
| 2017-11-20 07:50:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, rhettinger, r.david.murray, jbakker, Tomáš Petříček |
| 2017-11-20 07:50:04 | serhiy.storchaka | link | issue32042 messages |
| 2017-11-20 07:50:04 | serhiy.storchaka | create | |
|