homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:53amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, vstinner, serhiy.storchaka
2012年11月09日 12:29:53amaury.forgeotdarcsetmessageid: <1352464193.82.0.0688890910528.issue16447@psf.upfronthosting.co.za>
2012年11月09日 12:29:53amaury.forgeotdarclinkissue16447 messages
2012年11月09日 12:29:53amaury.forgeotdarccreate

AltStyle によって変換されたページ (->オリジナル) /