This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2018-11-09.14:08:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Note: "static const int single_input = 305;" cause a complation error on "case single_input": "case label does not reduce to an integer constant".

Ah! A friend gave me another solution, define an enum. Example:

enum {
    single_input = 256,
Date User Action Args
2018-11-09 14:08:58vstinnersetrecipients: + vstinner
2018-11-09 14:08:58vstinnersetmessageid: <>
2018-11-09 14:08:58vstinnerlinkissue35197 messages
2018-11-09 14:08:58vstinnercreate