Message313317
gcc 8 has added a new warning heuristic to detect invalid function casts and a stock python build seems to hit that warning quite often. The most common is the cast of a METH_NOARGS function (that uses just one argument) to a PyCFunction. The fix is pretty simple but needs to be applied widely. I'm slowly knocking them off in my spare time; WIP here, which has a few other types of warnings mixed in that I'll sift out during submission and also create separate bug reports for:
https://github.com/siddhesh/cpython/tree/func-cast
I'll clean up and post PR(s) once I am done but I figured I should file this report first since it is a pretty big change in terms of number of files touched and wanted to be sure that I'm making changes the way the community prefers. |
|
Date |
User |
Action |
Args |
2018-03-06 11:18:13 | siddhesh | set | recipients:
+ siddhesh |
2018-03-06 11:18:13 | siddhesh | set | messageid: <1520335093.04.0.467229070634.issue33012@psf.upfronthosting.co.za> |
2018-03-06 11:18:12 | siddhesh | link | issue33012 messages |
2018-03-06 11:18:12 | siddhesh | create | |
|