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 eric.snow, python-dev, rhettinger, serhiy.storchaka
Date 2015-10-22.18:48:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:56serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, python-dev, eric.snow
2015-10-22 18:48:56serhiy.storchakasetmessageid: <>
2015-10-22 18:48:56serhiy.storchakalinkissue25410 messages
2015-10-22 18:48:56serhiy.storchakacreate