Author Mark.Shannon
Recipients Mark.Shannon, berker.peksag, pkt, rhettinger, serhiy.storchaka
Date 2015-07-04.14:37:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There are two parts to this fix.

First, we raise a runtime exception if the other dict is modified during the update/merge.
Second, refcounts must be incremented around the PyDict_GetItem and insertdict calls in case the key or value is otherwise deallocated.
Patch attached.
Date User Action Args
2015-07-04 14:37:21Mark.Shannonsetrecipients: + Mark.Shannon, rhettinger, berker.peksag, serhiy.storchaka, pkt
2015-07-04 14:37:21Mark.Shannonsetmessageid: <>
2015-07-04 14:37:21Mark.Shannonlinkissue24407 messages
2015-07-04 14:37:21Mark.Shannoncreate