
May 24, 2011
4:21 a.m.
2011/5/23 Bruce Leban <bruce@leapyear.org>:
I like c'x'. It's easy to read and very explicitly constant and clear what the value is 'x'. (Some other letter instead of 'c' would be fine as well.)
We shouldn't add any new notation to create integers from characters to the language. It's too small a use case for adding new syntax. I would focus on agreeing on the notation that is most readable; personally I vote for ord('x'). -- --Guido van Rossum (python.org/~guido)