Porting problem

Bob Purvy bpurvy at packeteer.com
Tue Mar 20 13:12:09 EST 2001


I posted this on Friday with a different title but didn't get any
answers (it began with 'newbie' - maybe that was the problem!):

OK, I got this pSOS port sort of working for Python 2.0, and I thought
it would be a good idea to run the standard Python regression tests, to
verify that things are really correct.  But I'm getting a strange result

that I was hoping someone would understand:

>>> import string
>>> import regrtest
>>> dir(regrtest)
['__builtins__', '__doc__', '__file__', '__name__', 'sys']

why not any of the methods?

If I do the same thing on Linux on Python 1.5, dir(regrtest) shows all
the methods ('main', 'random', etc.), just as I expected.   So is there
some obvious reason why I'm not seeing those here?   Or is this some
obscure porting problem I just need to hunt down?


(since we don't have a real OS, I've embedded the whole thing within our

product and called Py_Main(), basically, so that's why I'm not just
running regrtest from the command line, as you'd normally do.)






More information about the Python-list mailing list