]> granicus.if.org Git - python/commitdiff
Set Py_FrozenFlag, to suppress error messages from getpath.c.
authorGuido van Rossum <guido@python.org>
Fri, 6 Feb 1998 22:30:29 +0000 (22:30 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 6 Feb 1998 22:30:29 +0000 (22:30 +0000)
Python/frozenmain.c

index c823fa1fab86ce4f825b3139684786f965014d21..c1a8f3fe35b1ddea0f5587362e7d478ea6582870 100644 (file)
@@ -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')