Mercurial > cpython-lru_cache-weakref
diff Python/frozenmain.c @ 7210:bccdeca81669 legacy-trunk
Set Py_FrozenFlag, to suppress error messages from getpath.c.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 06 Feb 1998 22:30:29 +0000 |
| parents | 41514d1ed664 |
| children | 6c6a48bc5817 |
line wrap: on
line diff
--- a/Python/frozenmain.c Fri Feb 06 22:29:30 1998 +0000 +++ b/Python/frozenmain.c Fri Feb 06 22:30:29 1998 +0000 @@ -49,6 +49,8 @@ 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')
