Message388167
object.h contains an inline function that causes a -Wcast-qual warning from gcc. Since this file ends up visible in third-party code that includes Python.h, this makes it impossible to use -Wcast-qual in such code.
The problem is the change c5cb077ab3c88394b7ac8ed4e746bd31b53e39f1, which replaced ob->ob_type by Py_TYPE(ob), which seems reasonable by itself, but Py_TYPE casts away the const, so it creates this problem.
This is a regression in Python 3.10. |
|
Date |
User |
Action |
Args |
2021-03-05 22:12:41 | petere | set | recipients:
+ petere |
2021-03-05 22:12:41 | petere | set | messageid: <1614982361.61.0.858230879301.issue43412@roundup.psfhosted.org> |
2021-03-05 22:12:41 | petere | link | issue43412 messages |
2021-03-05 22:12:41 | petere | create | |
|