[Numpy-discussion] Toward a numpy build with warning: handling unused variable

David Cournapeau cournape@gmail....
Sun Aug 3 18:02:36 CDT 2008


On Mon, Aug 4, 2008 at 12:35 AM, Charles R Harris
<charlesr.harris@gmail.com> wrote:

>
> I say leave these warnings alone. If nothing else, they point to possible
> cleanups in some future refactoring.

Not really, because they are inherent to the way the Python C API
works (the first argument of any python C function, which reference to
self for methods).

Also, having hundred of bogus warnings mean you never see the
interesting ones (building numpy core alone with -W generates > 1500
such bogus warnings...)

cheers,

David


More information about the Numpy-discussion mailing list