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 serhiy.storchaka
Recipients asvetlov, larry, serhiy.storchaka, skrah, vstinner
Date 2014-01-29.17:40:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391017251.01.0.104429769141.issue20437@psf.upfronthosting.co.za>
In-reply-to
Content
And here is a patch which replaces "Py_XDECREF(identifier); identifier = NULL;" to "Py_CLEAR(identifier);" (10 replaces in 7 files). It doesn't fix any bug (unless identifier is global variable), but makes a code a little cleaner. Compilers should generate equivalent code for both writing. It would be good to commit it too.
History
Date User Action Args
2014-01-29 17:40:51serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, larry, asvetlov, skrah
2014-01-29 17:40:51serhiy.storchakasetmessageid: <1391017251.01.0.104429769141.issue20437@psf.upfronthosting.co.za>
2014-01-29 17:40:50serhiy.storchakalinkissue20437 messages
2014-01-29 17:40:50serhiy.storchakacreate