Re: [Numpy-discussion] Good use of __dunder__ methods in numpy

2020-03-24 Thread Abdur-Rahmaan Janhangeer
Thanks for info! Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com | github Mauritius On Mon, Mar 23, 2020 at 10:56 PM Chris Barker wrote: > On Thu, Mar 5, 2020 at 2:15 PM Gregory Lee wrote: > >> If i can get a l

Re: [Numpy-discussion] Good use of __dunder__ methods in numpy

2020-03-23 Thread Chris Barker
On Thu, Mar 5, 2020 at 2:15 PM Gregory Lee wrote: > If i can get a link to a file that shows how dunder methods help with >> having cool coding APIs that would be great! >> >> > You may want to take a look at PEP 465 as an example, then. If I recall > correctly, the __matmul__ method described in

Re: [Numpy-discussion] Good use of __dunder__ methods in numpy

2020-03-05 Thread Abdur-Rahmaan Janhangeer
On Fri, 6 Mar 2020, 02:14 Gregory Lee, wrote: > > You may want to take a look at PEP 465 as an example, then. If I recall > correctly, the __matmul__ method described in it was added to the standard > library largely with NumPy in mind. > https://www.python.org/dev/peps/pep-0465/ > Hum thanks i

Re: [Numpy-discussion] Good use of __dunder__ methods in numpy

2020-03-05 Thread Gregory Lee
On Thu, Mar 5, 2020 at 2:01 PM Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: > Ah thank you for info, yes i'm talking about normal methods. > If i can get a link to a file that shows how dunder methods help with > having cool coding APIs that would be great! > > Thanks! > > > Yours, > >

Re: [Numpy-discussion] Good use of __dunder__ methods in numpy

2020-03-05 Thread Abdur-Rahmaan Janhangeer
Ah thank you for info, yes i'm talking about normal methods. If i can get a link to a file that shows how dunder methods help with having cool coding APIs that would be great! Thanks! Yours, Abdur-Rahmaan Janhangeer pythonmembers.club | github

Re: [Numpy-discussion] Good use of __dunder__ methods in numpy

2020-03-05 Thread Sebastian Berg
Hi, On Thu, 2020-03-05 at 11:14 +0400, Abdur-Rahmaan Janhangeer wrote: > Greetings list, > > I have a talk about dunder methods in Python > > ( > https://conference.mscc.mu/speaker/67604187-57c3-4be6-987c-ea4bef388ad3 > ) > > and it would be nice to include Numpy in the mix. Can someone point

[Numpy-discussion] Good use of __dunder__ methods in numpy

2020-03-04 Thread Abdur-Rahmaan Janhangeer
Greetings list, I have a talk about dunder methods in Python (https://conference.mscc.mu/speaker/67604187-57c3-4be6-987c-ea4bef388ad3) and it would be nice to include Numpy in the mix. Can someone point me to one or two use cases / file link where dunder methods help numpy? Thanks fun info: i