Message269004
| Author | methane |
|---|---|
| Recipients | methane, rhettinger, serhiy.storchaka |
| Date | 2016-06-21.15:38:46 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1466523526.6.0.803102988223.issue27350@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
As I posted to python-dev ML, this compact ordered dict doesn't keep insertion order
for key-shared dict.
>>> class A:
... ...
...
>>> a = A()
>>> b = A()
>>> a.a = 1
>>> a.b = 2
>>> b.b = 3
>>> b.a = 4
>>> a.__dict__.items()
dict_items([('a', 1), ('b', 2)])
>>> b.__dict__.items()
dict_items([('a', 4), ('b', 3)]) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-06-21 15:38:46 | methane | set | recipients: + methane, rhettinger, serhiy.storchaka |
| 2016-06-21 15:38:46 | methane | set | messageid: <1466523526.6.0.803102988223.issue27350@psf.upfronthosting.co.za> |
| 2016-06-21 15:38:46 | methane | link | issue27350 messages |
| 2016-06-21 15:38:46 | methane | create | |