diff options
author | Damien George <damien.p.george@gmail.com> | 2017-03-03 11:21:19 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-03-03 11:21:19 +1100 |
commit | 9275c182708ae80ac62eaf0e4152df7b88163076 (patch) | |
tree | b1c4923e781af20c11a2e492ea25cdc1f1742887 /tests/basics/struct1_intbig.py | |
parent | 845a80a6c8a17972127cb3e9a6e8143f9c31e4fe (diff) | |
download | micropython-9275c182708ae80ac62eaf0e4152df7b88163076.tar.gz micropython-9275c182708ae80ac62eaf0e4152df7b88163076.zip |
py/map: Fix bugs with deletion of elements from OrderedDict.
There were 2 bugs, now fixed by this patch:
- after deleting an element the len of the dict did not decrease by 1
- after deleting an element searching through the dict could lead to
a seg fault due to there being an MP_OBJ_SENTINEL in the ordered array
Diffstat (limited to 'tests/basics/struct1_intbig.py')
0 files changed, 0 insertions, 0 deletions