On SunOS 4.1.3, I run this program and it hangs
and then core dumps (if I let it run awhile):
#!/usr/local/bin/python
import sys
def main():
sys.path
main()
tibbs 393} ./x.py
^C^Cpython: to interrupt a truly hanging Python program, interrupt once more.
If I run it interactively, it works:
tibbs 394} python
Python 1.0.2 (Jun 27 1994)
Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
>>> import sys
>>> def main():
... print sys.path
...
>>> main()
['.', '/usr/local/lib/python', '/usr/local/lib/python/test']