Author siddhesh
Recipients siddhesh
Date 2018-03-06.11:18:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520335093.04.0.467229070634.issue33012@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-03-06 11:18:13siddheshsetrecipients: + siddhesh
2018-03-06 11:18:13siddheshsetmessageid: <1520335093.04.0.467229070634.issue33012@psf.upfronthosting.co.za>
2018-03-06 11:18:12siddheshlinkissue33012 messages
2018-03-06 11:18:12siddheshcreate