On Thu, Jul 05, 2018 at 09:00:39PM -0400, Alexander Belopolsky wrote: > Do we want to protect users who > cannot tell = from == so much that we are willing to cause Python to be > the first language with two non-interchangeable assignment operators?
Not even close to the first. Go beat us to it -- it has both = and := assignment operators. Ocaml also has := for regular assignment and <- for assignment to mutable fields. Similarly, Haskall has = for assignment definitions and <- for binding in monads. -- Steve _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com