From: Christian Heimes Date: Sun, 18 Nov 2012 23:44:37 +0000 (+0100) Subject: RISCOS support has been removed a long time ago. Remove last remains in sys.flags... X-Git-Tag: v3.4.0a1~1975^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c1c83121166a56e19eaa7f577615400953d1dc1;p=thirdparty%2FPython%2Fcpython.git RISCOS support has been removed a long time ago. Remove last remains in sys.flags code. #16501 can be closed, too. --- diff --git a/Python/sysmodule.c b/Python/sysmodule.c index cafbb58667bb..92c5b6761167 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1349,9 +1349,6 @@ static PyStructSequence_Field flags_fields[] = { {"no_site", "-S"}, {"ignore_environment", "-E"}, {"verbose", "-v"}, -#ifdef RISCOS - {"riscos_wimp", "???"}, -#endif /* {"unbuffered", "-u"}, */ /* {"skip_first", "-x"}, */ {"bytes_warning", "-b"}, @@ -1364,11 +1361,7 @@ static PyStructSequence_Desc flags_desc = { "sys.flags", /* name */ flags__doc__, /* doc */ flags_fields, /* fields */ -#ifdef RISCOS - 13 -#else 12 -#endif }; static PyObject* @@ -1393,9 +1386,6 @@ make_flags(void) SetFlag(Py_NoSiteFlag); SetFlag(Py_IgnoreEnvironmentFlag); SetFlag(Py_VerboseFlag); -#ifdef RISCOS - SetFlag(Py_RISCOSWimpFlag); -#endif /* SetFlag(saw_unbuffered_flag); */ /* SetFlag(skipfirstline); */ SetFlag(Py_BytesWarningFlag);