[Numpy-discussion] I removed some duplicate code from weave