On Sun, Aug 3, 2008 at 6:02 PM, David Cournapeau <[EMAIL PROTECTED]> wrote:

> On Mon, Aug 4, 2008 at 12:35 AM, Charles R Harris
> <[EMAIL PROTECTED]> 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).
>

But how many methods do arrays and types have? As many as 1500? I think it
is a bad idea to work around these sort of things. If self is needed, it
belongs there. If not, it should be removed. If the warnings are too
numerous, filter them. And why would self go unused in any genuine method?

Chuck
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to