[Python-ideas] Is there a good reason to use * for multiplication?

Yuval Greenfield ubershmekel at gmail.com
Sun Oct 14 07:40:57 CEST 2012


On Sun, Oct 14, 2012 at 2:04 AM, MRAB <python at mrabarnett.plus.com> wrote:

> If it's more than one codepoint, we could prefix with the length of the
> codepoint's name:
>
> def __12CIRCLED_PLUS__(x, y):
>     ...
>
>
That's a bit impractical, and why reinvent the wheel? I'd much rather:

def \u2295(x, y):
    ....

So readable I want to read it twice. And that's not legal python today so
we don't break backwards compatibility!

Yuval
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121014/59a6c26c/attachment.html>


More information about the Python-ideas mailing list