Message307799
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. |
|
Date |
User |
Action |
Args |
2017-12-07 12:24:50 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner |
2017-12-07 12:24:50 | serhiy.storchaka | set | messageid: <1512649490.22.0.213398074469.issue32240@psf.upfronthosting.co.za> |
2017-12-07 12:24:50 | serhiy.storchaka | link | issue32240 messages |
2017-12-07 12:24:50 | serhiy.storchaka | create | |
|