[Python-Dev] Re: **= does not follow the data model

2020-08-24 Thread Brett Cannon
On Sun, Aug 23, 2020 at 1:57 PM Guido van Rossum wrote: > On Sun, Aug 23, 2020 at 1:09 PM Brett Cannon wrote: > >> If you read the language reference for augmented arithmetic assignment, >> you will note that it essentially says, "call __i__, and if that >> doesn't work call as if you were doing

[Python-Dev] Re: **= does not follow the data model

2020-08-23 Thread Guido van Rossum
On Sun, Aug 23, 2020 at 1:09 PM Brett Cannon wrote: > If you read the language reference for augmented arithmetic assignment, > you will note that it essentially says, "call __i__, and if that > doesn't work call as if you were doing a b". Unfortunately it appears > **= does not follow the rule

[Python-Dev] Re: **= does not follow the data model

2020-08-23 Thread Bernardo Sulzbach
I am also for #2, as I don't think there is any concrete reason for making **= special. On Sun, Aug 23, 2020 at 5:05 PM Brett Cannon wrote: > If you read the language reference for augmented arithmetic assignment, > you will note that it essentially says, "call __i__, and if that > doesn't work