[Numpy-discussion] Re: The source code corresponding to numpy.invert.

2021-10-04 Thread Hongyi Zhao
On Mon, Oct 4, 2021 at 11:54 PM Stephen Waterbury wrote: > > On 10/4/21 10:07 AM, Hongyi Zhao wrote: > > On Mon, Oct 4, 2021 at 9:33 PM Robert Kern wrote: > > On Mon, Oct 4, 2021 at 5:17 AM Hongyi Zhao wrote: > > That’s just the way Python’s syntax works. Operators are not names that can > be r

[Numpy-discussion] Re: The source code corresponding to numpy.invert.

2021-10-04 Thread Stephen Waterbury
On 10/4/21 10:07 AM, Hongyi Zhao wrote: On Mon, Oct 4, 2021 at 9:33 PM Robert Kern wrote: On Mon, Oct 4, 2021 at 5:17 AM Hongyi Zhao wrote: That’s just the way Python’s syntax works. Operators are not names that can be resolved to objects that can be compared with the `is` operator. Inste

[Numpy-discussion] Re: The source code corresponding to numpy.invert.

2021-10-04 Thread Hongyi Zhao
On Mon, Oct 4, 2021 at 9:33 PM Robert Kern wrote: > > On Mon, Oct 4, 2021 at 5:17 AM Hongyi Zhao wrote: >> >> >> > That’s just the way Python’s syntax works. Operators are not names that >> > can be resolved to objects that can be compared with the `is` operator. >> > Instead, when that operato

[Numpy-discussion] Re: The source code corresponding to numpy.invert.

2021-10-04 Thread Robert Kern
On Mon, Oct 4, 2021 at 5:17 AM Hongyi Zhao wrote: > > > That’s just the way Python’s syntax works. Operators are not names that > can be resolved to objects that can be compared with the `is` operator. > Instead, when that operator is evaluated in an expression, the Python > interpreter will look

[Numpy-discussion] Re: Drop 32 bit manylinux wheels

2021-10-04 Thread Matthew Brett
Hi, Dropping 32-bit wheels seems very reasonable at this stage, as long as we keep testing on 32-bit, for the Raspberry Pi folks, Cheers, Matthew On Sun, Oct 3, 2021 at 6:27 PM Charles R Harris wrote: > > Hi All, > > Dropping 32 manylinux wheels was discussed in a triage meeting some time ago

[Numpy-discussion] Re: The source code corresponding to numpy.invert.

2021-10-04 Thread Hongyi Zhao
On Mon, Oct 4, 2021 at 4:41 PM Robert Kern wrote: > > On Mon, Oct 4, 2021 at 1:09 AM wrote: >> >> Thank you for pointing this out. This is the code block which includes the >> first appearance of the keyword `logical_not`. >> >> BTW, why can't the ~ operator be tested equal to 'np.invert', as sh

[Numpy-discussion] Re: The source code corresponding to numpy.invert.

2021-10-04 Thread Robert Kern
On Mon, Oct 4, 2021 at 1:09 AM wrote: > Thank you for pointing this out. This is the code block which includes the > first appearance of the keyword `logical_not`. > > BTW, why can't the ~ operator be tested equal to 'np.invert', as shown > below: > > ``` > In [1]: import numpy as np > In [3]: np