[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have done this. Thank you for reporting about this issue. I don't have enough motivation for making a backport for 2.7. If someone want to do this, a PR is welcome. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 29d2f3c47280f05795c9d4d70f4018cb1488f0ab by Serhiy Storchaka in branch '3.6': [3.6] bpo-33029: Fix signatures of getter and setter functions. (GH-10746) (GH-10749)

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread miss-islington
miss-islington added the comment: New changeset 5ceb7018dc63fab96f81d05e62bbe704e9f10cb9 by Miss Islington (bot) in branch '3.7': bpo-33029: Fix signatures of getter and setter functions. (GH-10746) https://github.com/python/cpython/commit/5ceb7018dc63fab96f81d05e62bbe704e9f10cb9

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9997 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +9995 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d4f9cf5545d6d8844e0726552ef2e366f5cc3abd by Serhiy Storchaka in branch 'master': bpo-33029: Fix signatures of getter and setter functions. (GH-10746) https://github.com/python/cpython/commit/d4f9cf5545d6d8844e0726552ef2e366f5cc3abd

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9994 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka versions: +Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Siddhesh Poyarekar
Siddhesh Poyarekar added the comment: Sorry I haven't had time to look into this since and it doesn't look like I'll be able to get to it in the next couple of weeks. I had a couple of patches in the github fork but they're pretty outdated and probably not even correct. If nobody gets to

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can you provide your patches Siddhesh? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-03-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> needs patch versions: +Python 3.8 ___ Python tracker ___

[issue33029] Invalid function cast warnings with gcc 8 for getter and setter functions

2018-03-08 Thread Siddhesh Poyarekar
New submission from Siddhesh Poyarekar : 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. bug 33012 fixes the most trivial case of METH_NOARGS, this bug is to track a