Kaydet (Commit) 919b83d5 authored tarafından Guido van Rossum's avatar Guido van Rossum

Set Py_FrozenFlag, to suppress error messages from getpath.c.

üst 131c92c0
......@@ -49,6 +49,8 @@ Py_FrozenMain(argc, argv)
int inspect = 0;
int unbuffered = 0;
Py_FrozenFlag = 1; /* Suppress errors from getpath.c */
if ((p = getenv("PYTHONINSPECT")) && *p != '\0')
inspect = 1;
if ((p = getenv("PYTHONUNBUFFERED")) && *p != '\0')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment