Message175228
| Author | amaury.forgeotdarc |
|---|---|
| Recipients | amaury.forgeotdarc, serhiy.storchaka, vstinner |
| Date | 2012-11-09.12:29:53 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1352464193.82.0.0688890910528.issue16447@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
- 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); } |
|
| History | |||
|---|---|---|---|
| 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 | |