Message361699
> Yes, Py_INCREF and Py_DECREF change the type, and therefore constness.
Understood. The changes that I have proposed are not to objects that get sent through Py_INCREF/Py_DECREF. If they did, -Wcast-qual would have caught it. -Wcast-qual catches if you cast, say, a const char * to a char *.
Let's let this stay closed and I'll resubmit with a clearer ticket & PR. |
|
Date |
User |
Action |
Args |
2020-02-10 15:18:04 | petdance | set | recipients:
+ petdance, serhiy.storchaka |
2020-02-10 15:18:03 | petdance | set | messageid: <1581347884.0.0.261530296563.issue39591@roundup.psfhosted.org> |
2020-02-10 15:18:03 | petdance | link | issue39591 messages |
2020-02-10 15:18:03 | petdance | create | |
|