Message175216
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, vstinner |
| Date |
2012年11月09日.01:18:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1352423909.59.0.679539006117.issue16445@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
py_clear.spatch replaces:
Py_DECREF(obj->attr); obj->attr = NULL;
but also:
Py_DECREF(obj); obj = NULL;
If the second pattern is not dangerous, py_clear.spatch can be modified to only match the first pattern: see py_decref_replace.spatch of issue #16447 for an example. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年11月09日 01:18:29 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc |
| 2012年11月09日 01:18:29 | vstinner | set | messageid: <1352423909.59.0.679539006117.issue16445@psf.upfronthosting.co.za> |
| 2012年11月09日 01:18:29 | vstinner | link | issue16445 messages |
| 2012年11月09日 01:18:29 | vstinner | create |
|