Comment on PEP-0238

Tim Peters tim.one at home.com
Sat Jul 7 18:13:33 EDT 2001


[Marcin 'Qrczak' Kowalczyk]
> Don't you want to borrow Haskell's turning of an arbitrary binary
> function into an operator thus: x `div` y? :-)  OCaml recently did.

[Alex Martelli]
> One side advantage of adopting that in Python would be to
> remove the ugly equivalent `x` to repr(x)...:-) <ducks/>

I'm sorry, Alex, but `` is here to stay.  Guido is insanely fond of it!
Meaning no more than that he doesn't hate it <0.9 wink>.  I see something
like

    print ``1`+`2``

and to this day I still have no idea how Python manages to parse it
correctly.  Ah, and it took some doing *just* to see it:  in Courier New (my
usual code-reading font), the backtick is so insubstantial that I fiddled my
editor to scale it up by 150% and display it in bold.  Ugly as sin, but then
that the righteous can't overlook sin was the point <wink>.





More information about the Python-list mailing list