[pypy-dev] Re: Pypy frontend/ testall.py

Michael Hudson mwh at python.net
Mon Mar 10 12:42:47 CET 2003


Armin Rigo <arigo at tunes.org> writes:

> Hello,
>
> On Mon, Mar 03, 2003 at 09:17:25PM -0500, Rocco Moretti wrote:
>> Additionally, when testing, an "import test" opens the "test" submodule of 
>> Lib/pypy/interpreter.

?  Shouldn't do, if $PYTHONPATH is pointing at the directory
containing the pypy directory.

> Why is there an __init__.py file in our pypy/interpreter/test/ subdirectory?

Because I wanted to import something from there at some point.

> We will keep running again and again into this problem.

Why?

> Either none of our test/ subdirectory is a package, 

Bad idea, IMO.

> or we rename them all (e.g. to testing/) to avoid this confusion.

Better, but should be unecessary.

Cheers,
M.

-- 
  MGM will not get your whites whiter or your colors brighter.
  It will, however, sit there and look spiffy while sucking down
  a major honking wad of RAM.              -- http://www.xiph.org/mgm/



More information about the Pypy-dev mailing list