On Tue, Jun 4, 2019 at 8:07 PM Yanghao Hua <yanghao...@gmail.com> wrote:
> I understand that after the assignment expression (:=) PEP572 people
> are already not happy with anything that could be slightly related to
> assignment overloading, I actually don't understand why people object
> PEP572 so hard, its practical use is clear and it makes code shorter
> and easier to read. Sometimes it seems the obsession of people in one
> idea makes them to even deny the existence of problems ... problems
> that having been solved well in other programming languages, and is
> well understood by majority of the programmers.

Assignment overloading and PEP 572 are completely orthogonal. The :=
operator makes assignment available in an expression context, rather
than only as a statement, but this is nothing to do with allowing the
target operator to redefine assignment.

ChrisA
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to