Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macmain.c @ 19851:f3f694111ea0 legacy-trunk
Failing to import macfsn is not a fatal error.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 11 Sep 2001 11:29:31 +0000 |
| parents | c93d7d0857a2 |
| children | 5568b320914f |
line wrap: on
line diff
--- a/Mac/Python/macmain.c Tue Sep 11 09:22:19 2001 +0000 +++ b/Mac/Python/macmain.c Tue Sep 11 11:29:31 2001 +0000 @@ -384,7 +384,7 @@ sts = PyRun_AnyFile(stdin, "<stdin>") != 0; return sts; } - + /* ** Import the macfsn module, which will override the Standard File ** calls in the macfs builtin module by Navigation Services versions, @@ -405,6 +405,7 @@ else { PySys_WriteStderr("use -v for traceback\n"); } + PyErr_Clear(); } } }
