mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
RISCOS support has been removed a long time ago. Remove last remains in sys.flags code. #16501 can be closed, too.
This commit is contained in:
parent
273255fa2f
commit
5c1c831211
1 changed files with 0 additions and 10 deletions
|
@ -1349,9 +1349,6 @@ static PyStructSequence_Field flags_fields[] = {
|
||||||
{"no_site", "-S"},
|
{"no_site", "-S"},
|
||||||
{"ignore_environment", "-E"},
|
{"ignore_environment", "-E"},
|
||||||
{"verbose", "-v"},
|
{"verbose", "-v"},
|
||||||
#ifdef RISCOS
|
|
||||||
{"riscos_wimp", "???"},
|
|
||||||
#endif
|
|
||||||
/* {"unbuffered", "-u"}, */
|
/* {"unbuffered", "-u"}, */
|
||||||
/* {"skip_first", "-x"}, */
|
/* {"skip_first", "-x"}, */
|
||||||
{"bytes_warning", "-b"},
|
{"bytes_warning", "-b"},
|
||||||
|
@ -1364,11 +1361,7 @@ static PyStructSequence_Desc flags_desc = {
|
||||||
"sys.flags", /* name */
|
"sys.flags", /* name */
|
||||||
flags__doc__, /* doc */
|
flags__doc__, /* doc */
|
||||||
flags_fields, /* fields */
|
flags_fields, /* fields */
|
||||||
#ifdef RISCOS
|
|
||||||
13
|
|
||||||
#else
|
|
||||||
12
|
12
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static PyObject*
|
static PyObject*
|
||||||
|
@ -1393,9 +1386,6 @@ make_flags(void)
|
||||||
SetFlag(Py_NoSiteFlag);
|
SetFlag(Py_NoSiteFlag);
|
||||||
SetFlag(Py_IgnoreEnvironmentFlag);
|
SetFlag(Py_IgnoreEnvironmentFlag);
|
||||||
SetFlag(Py_VerboseFlag);
|
SetFlag(Py_VerboseFlag);
|
||||||
#ifdef RISCOS
|
|
||||||
SetFlag(Py_RISCOSWimpFlag);
|
|
||||||
#endif
|
|
||||||
/* SetFlag(saw_unbuffered_flag); */
|
/* SetFlag(saw_unbuffered_flag); */
|
||||||
/* SetFlag(skipfirstline); */
|
/* SetFlag(skipfirstline); */
|
||||||
SetFlag(Py_BytesWarningFlag);
|
SetFlag(Py_BytesWarningFlag);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue