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 <1445539736.77.0.514314432322.issue25410@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1445539736.77.0.514314432322.issue25410@psf.upfronthosting.co.za>
2015-10-22 18:48:56serhiy.storchakalinkissue25410 messages
2015-10-22 18:48:56serhiy.storchakacreate