[Numpy-discussion] Moving docstrings from C to Python

Sasha ndarray at mac.com
Fri Jul 28 16:10:05 CDT 2006


On 7/28/06, Stefan van der Walt <stefan at sun.ac.za> wrote:

> Would anyone mind if the change was made?  If not, where should they
> go? (numpy/add_newdocs.py or numpy/core/something)

Another +1 for numpy/add_newdocs.py and a suggestion: check for
Py_OptimizeFlag > 1 in add_newdoc so that docstrings are not loaded if
python is invoked with -OO option.  This will  improve import numpy
time and reduce the memory footprint.  I'll make the change if no one
objects.




More information about the Numpy-discussion mailing list