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 Mark.Shannon
Recipients Mark.Shannon, amaury.forgeotdarc, benjamin.peterson, brett.cannon, dmalcolm, ilblackdragon, jcea, larry, mark.dickinson, vstinner
Date 2013-03-31.14:25:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364739917.98.0.565371567793.issue17206@psf.upfronthosting.co.za>
In-reply-to
Content
Mark, it was written 20 years ago. Who knows (or cares) why it was written that way?
Let's just write it correctly this time.


Py_INCREF, Py_DECREF, Py_XDECREF and Py_XINCREF should all expand their argument exactly once.

Py_CLEAR should expand its argument exactly twice, once as an rvalue, then once as an lvalue.

So could we fix Py_DECREF and Py_CLEAR as well, please?
History
Date User Action Args
2013-03-31 14:25:18Mark.Shannonsetrecipients: + Mark.Shannon, brett.cannon, jcea, amaury.forgeotdarc, mark.dickinson, vstinner, larry, benjamin.peterson, dmalcolm, ilblackdragon
2013-03-31 14:25:17Mark.Shannonsetmessageid: <1364739917.98.0.565371567793.issue17206@psf.upfronthosting.co.za>
2013-03-31 14:25:17Mark.Shannonlinkissue17206 messages
2013-03-31 14:25:17Mark.Shannoncreate