Message388167
| Author |
petere |
| Recipients |
petere |
| Date |
2021年03月05日.22:12:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1614982361.61.0.858230879301.issue43412@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|