[Python-ideas] Re: Operator as first class citizens -- like in scala -- or yet another new operator?

2019-06-11 Thread Barry Scott
> On 11 Jun 2019, at 09:50, Yanghao Hua wrote: > > On Mon, Jun 10, 2019 at 8:57 PM Caleb Donovick > wrote: >> >> First off, I have admittedly not read all of this thread. However, as >> designer of DSL's in python, I wanted to jump in on a couple of things

[Python-ideas] Re: Assign-in-place operator

2019-06-11 Thread Caleb Donovick
The problem as I see it with slice assignment is that if we want to operator to mean type defined assignment not necessary in place assignment. It creates confusion for types which have __setitem__. Caleb Donovick On Thu, Jun 6, 2019 at 4:59 PM Greg Ewing wrote: > Stephen J. Turnbull wrote:

[Python-ideas] Re: Operator as first class citizens -- like in scala -- or yet another new operator?

2019-06-11 Thread Yanghao Hua
On Mon, Jun 10, 2019 at 8:57 PM Caleb Donovick wrote: > > First off, I have admittedly not read all of this thread. However, as > designer of DSL's in python, I wanted to jump in on a couple of things I have > seen suggested. Sorry If I am repeating comments already made. Over the > last