Message175258
| Author |
jcea |
| Recipients |
amaury.forgeotdarc, jcea, serhiy.storchaka, vstinner |
| Date |
2012年11月10日.02:38:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1352515131.63.0.528538198309.issue16447@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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?. |
|