On Tue, Jun 4, 2019 at 3:24 PM Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > > Yanghao Hua wrote: > > is Python visioned in a way to allow > > users to define there own operators? > > No, it's not. Whenever the topic has come up, Guido has always said > that he is against having user-defined syntax in Python.
Did Guido say "user defined syntax" or "user defined operator"? I love python's syntax and I don't see the need to change it. But for me defining new operator is different and we just had a few more recently (@, @=, :=). The way scala allows user to define new operator is really elegant, and this is actually the driving force for designing new DSL in scala. _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/