Message253346
Thanks Eric.
A comment in PyODict_SetItem suggests to revert setting the value on the dict if adding new node failed. Following patch implements this suggestion. After committing the patch in issue25462 PyDict_DelItem can be replaced with _PyDict_DelItem_KnownHash and it will be always successful. |
|
Date |
User |
Action |
Args |
2015-10-22 18:48:56 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, python-dev, eric.snow |
2015-10-22 18:48:56 | serhiy.storchaka | set | messageid: <1445539736.77.0.514314432322.issue25410@psf.upfronthosting.co.za> |
2015-10-22 18:48:56 | serhiy.storchaka | link | issue25410 messages |
2015-10-22 18:48:56 | serhiy.storchaka | create | |
|