Issue 35963: Python/symtable.c: warning: enumeration value ‘FunctionType_kind’ not handled in switch [-Wswitch]" (original) (raw)

Issue35963

Created on 2019-02-11 11:31 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 11821 merged gvanrossum,2019-02-11 16:18
PR 11821 merged gvanrossum,2019-02-11 16:18
PR 11821 merged gvanrossum,2019-02-11 16:18
Messages (4)
msg335207 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-02-11 11:31
On x86 Gentoo Installed with X 3.x buildbot, there is a compiler warning: "Python/symtable.c:289:5: warning: enumeration value ‘FunctionType_kind’ not handled in switch [-Wswitch]" https://buildbot.python.org/all/#/builders/103/builds/2067 It might me related to the implementation of the PEP 572 (bpo-35224), but I'm not sure. See also bpo-35878.
msg335236 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2019-02-11 16:14
Sure, I'll fix it.
msg335264 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2019-02-11 19:34
New changeset 522346d792d9013140a3f4ad3534ac10f38d9085 by Guido van Rossum in branch 'master': Complete switch cases in symtable.c; fixes bpo-35963 (GH-11821) https://github.com/python/cpython/commit/522346d792d9013140a3f4ad3534ac10f38d9085
msg335265 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-02-11 19:57
Thanks for the fix, Guido ;-)
History
Date User Action Args
2022-04-11 14:59:11 admin set github: 80144
2019-02-12 00:27:46 gvanrossum set keywords:patch, patch, patchstage: resolved
2019-02-12 00:10:08 gvanrossum set stage: resolved -> (no value)
2019-02-11 19:57:33 vstinner set keywords:patch, patch, patchmessages: +
2019-02-11 19:34:56 gvanrossum set status: open -> closedresolution: fixedmessages: + stage: patch review -> resolved
2019-02-11 16🔞50 gvanrossum set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest11850>
2019-02-11 16🔞43 gvanrossum set keywords: + patchstage: (no value)pull_requests: + <pull%5Frequest11849>
2019-02-11 16🔞37 gvanrossum set keywords: + patchstage: (no value)pull_requests: + <pull%5Frequest11848>
2019-02-11 16:14:31 gvanrossum set messages: +
2019-02-11 11:58:20 rhettinger set nosy: + gvanrossum
2019-02-11 11:31:24 vstinner create