Message246260
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:21 | Mark.Shannon | set | recipients:
+ Mark.Shannon, rhettinger, berker.peksag, serhiy.storchaka, pkt |
2015-07-04 14:37:21 | Mark.Shannon | set | messageid: <1436020641.16.0.918110199564.issue24407@psf.upfronthosting.co.za> |
2015-07-04 14:37:21 | Mark.Shannon | link | issue24407 messages |
2015-07-04 14:37:21 | Mark.Shannon | create | |
|