summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/frozenmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index c823fa1..c1a8f3f 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -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')