Lines Matching defs:feature
4 #define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"
18 const char *feature = PyUnicode_AsUTF8(name->name);
19 if (!feature)
21 if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) {
23 } else if (strcmp(feature, FUTURE_GENERATORS) == 0) {
25 } else if (strcmp(feature, FUTURE_DIVISION) == 0) {
27 } else if (strcmp(feature, FUTURE_ABSOLUTE_IMPORT) == 0) {
29 } else if (strcmp(feature, FUTURE_WITH_STATEMENT) == 0) {
31 } else if (strcmp(feature, FUTURE_PRINT_FUNCTION) == 0) {
33 } else if (strcmp(feature, FUTURE_UNICODE_LITERALS) == 0) {
35 } else if (strcmp(feature, FUTURE_BARRY_AS_BDFL) == 0) {
37 } else if (strcmp(feature, FUTURE_GENERATOR_STOP) == 0) {
39 } else if (strcmp(feature, FUTURE_ANNOTATIONS) == 0) {
41 } else if (strcmp(feature, "braces") == 0) {
48 UNDEFINED_FUTURE_FEATURE, feature);