Message175216
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. |
|
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 | |
|