compiling Python-2.0 on SunOS Unix machine
Fredrik Lundh
effbot at telia.com
Sat Oct 21 10:57:58 EDT 2000
June Kim wrote:
> when testing the installation with "make test", I got one CRASH:
>
> test_pwd
> test test_pwd crashed -- exceptions.IndexError: list index out of range
>
> What is the problem?
the test script seems to assume that pwd.getpwall should
return at least one entry. try this:
>>> import pwd
>>> print pwd.getpwall()
if you get back an empty list, your system doesn't expose any
password entries through getpwall (if that's a bug or not is more
than I can tell...)
</F>
More information about the Python-list
mailing list