[pypy-issue] [issue998] numpypy app level module layout fix (patch attached)

mikefc tracker at bugs.pypy.org
Wed Jan 11 23:36:43 CET 2012


mikefc <coolbutuseless at gmail.com> added the comment:

A simple patch for the layout of the applevel numpypy module. Updated with Alex's 
suggestions.

* move numpypy/fromnumeric.py to numpypy/core/fromnumeric.py (as it is in numpy)
* move numpypy/test/test_fromnumeric.py to 
pypy/module/test_lib_pypy/test_numpypy/core/test_fromnumeric.py
* now using explicit relative imports
* add a __version__ string  "numpypy-1.6.1" (needed by numpy testing infrastructure)
* add a transpose function that calls the interp level method. (also added test for 
this)
* change NotImplemented()s to NotImplementedError()s.  oops.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue998>
________________________________________


More information about the pypy-issue mailing list