From 919b83d5221cf85585ab99347e427f384e0083c8 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 6 Feb 1998 22:30:29 +0000 Subject: Set Py_FrozenFlag, to suppress error messages from getpath.c. --- Python/frozenmain.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/frozenmain.c') diff --git a/Python/frozenmain.c b/Python/frozenmain.c index c823fa1fab8..c1a8f3fe35b 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') -- cgit v1.2.3