Message175228
- For the replacement with NULL, Py_CLEAR() should be used instead.
- We should use a macro (Py_REF_ASSIGN?) for the replacement case.
- Careful, in Modules/_json.c the code is wrong because tmp is already used::
PyObject *tmp = PyUnicode_AsEncodedString(...);
{
PyObject *tmp = s->encoding;
s->encoding = tmp;
Py_DECREF(tmp);
} |
|
Date |
User |
Action |
Args |
2012-11-09 12:29:53 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, vstinner, serhiy.storchaka |
2012-11-09 12:29:53 | amaury.forgeotdarc | set | messageid: <1352464193.82.0.0688890910528.issue16447@psf.upfronthosting.co.za> |
2012-11-09 12:29:53 | amaury.forgeotdarc | link | issue16447 messages |
2012-11-09 12:29:53 | amaury.forgeotdarc | create | |
|