Message175258
Yes, we should add a "Py_REPLACE()" macro. Sure. +1 to that.
With this issue in mind, I wonder if there is any situation where "Py_DECREF/Py_XDECREF" must be used that can not be replace with "Py_CLEAR/Py_REPLACE".
Is there any code that breaks if we replace "Py_XDECREF()" by "Py_CLEAR()"?. Could be possible even to replace Py_DECREF definition?. |
|
Date |
User |
Action |
Args |
2012-11-10 02:38:51 | jcea | set | recipients:
+ jcea, amaury.forgeotdarc, vstinner, serhiy.storchaka |
2012-11-10 02:38:51 | jcea | set | messageid: <1352515131.63.0.528538198309.issue16447@psf.upfronthosting.co.za> |
2012-11-10 02:38:51 | jcea | link | issue16447 messages |
2012-11-10 02:38:51 | jcea | create | |
|