Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2017-12-07.12:24:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512649490.22.0.213398074469.issue32240@psf.upfronthosting.co.za>
In-reply-to
Content
This change is inspired by reviewing one PR in which an input array of PyObject* was modified inplace. Even if it was correct in that particular  case, it looked unsafe (actually that code was wrong for other causes). Adding the const qualifier allows to distinguish input PyObject* array arguments from pointers to output PyObject* arguments.
History
Date User Action Args
2017-12-07 12:24:50serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2017-12-07 12:24:50serhiy.storchakasetmessageid: <1512649490.22.0.213398074469.issue32240@psf.upfronthosting.co.za>
2017-12-07 12:24:50serhiy.storchakalinkissue32240 messages
2017-12-07 12:24:50serhiy.storchakacreate