Message246260
| 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 |
<1436020641.16.0.918110199564.issue24407@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|