mirror of
https://github.com/python/cpython.git
synced 2026-05-19 02:44:16 -04:00
Implemented PEP 370
This commit is contained in:
+5
-5
@@ -1101,7 +1101,7 @@ svnversion_init(void)
|
||||
shortbranch[len] = '\0';
|
||||
}
|
||||
else {
|
||||
Py_FatalError("bad HeadURL");
|
||||
Py_FatalError("bad HeadURL");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1158,7 +1158,7 @@ static PyStructSequence_Field flags_fields[] = {
|
||||
{"interactive", "-i"},
|
||||
{"optimize", "-O or -OO"},
|
||||
{"dont_write_bytecode", "-B"},
|
||||
/* {"no_user_site", "-s"}, */
|
||||
{"no_user_site", "-s"},
|
||||
{"no_site", "-S"},
|
||||
{"ignore_environment", "-E"},
|
||||
{"tabcheck", "-t or -tt"},
|
||||
@@ -1178,9 +1178,9 @@ static PyStructSequence_Desc flags_desc = {
|
||||
flags__doc__, /* doc */
|
||||
flags_fields, /* fields */
|
||||
#ifdef RISCOS
|
||||
14
|
||||
15
|
||||
#else
|
||||
13
|
||||
14
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -1205,7 +1205,7 @@ make_flags(void)
|
||||
SetFlag(Py_InteractiveFlag);
|
||||
SetFlag(Py_OptimizeFlag);
|
||||
SetFlag(Py_DontWriteBytecodeFlag);
|
||||
/* SetFlag(Py_NoUserSiteDirectory); */
|
||||
SetFlag(Py_NoUserSiteDirectory);
|
||||
SetFlag(Py_NoSiteFlag);
|
||||
SetFlag(Py_IgnoreEnvironmentFlag);
|
||||
SetFlag(Py_TabcheckFlag);
|
||||
|
||||
Reference in New Issue
Block a user