Re: [Numpy-discussion] Request for comments on PEP 637 - Support for indexing with keyword arguments

2020-09-23 Thread Stephan Hoyer
On Wed, Sep 23, 2020 at 2:22 PM Stefano Borini wrote: > Dear all, > > > > > > I would like to know your opinion on how to address a specific need of > > > the new PEP 637: > > > > > > https://github.com/python/peps/blob/master/pep-0637.txt > > > > > > Such PEP would make a syntax like the followi

[Numpy-discussion] Request for comments on PEP 637 - Support for indexing with keyword arguments

2020-09-23 Thread Stefano Borini
Dear all, I would like to know your opinion on how to address a specific need of the new PEP 637: https://github.com/python/peps/blob/master/pep-0637.txt Such PEP would make a syntax like the following valid obj[2, x=23] obj[2, 4, x=23] Which would resolve to a call in the form ty