[Python-ideas] Python 3.x and bytes
Alexander Belopolsky
alexander.belopolsky at gmail.com
Tue May 24 02:40:51 CEST 2011
2011/5/23 Bruce Leban <bruce at 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.)
-0 from me
Mainly because unlike b'..' or r'..' constructs, no meaning is
proposed for c'xyz'.
BTW, is it too soon to assign new meaning to back-quotes? In py3k
they no longer stand for repr(), so we can probably reuse them for
ord()? On the other hand, this is likely to be a bad idea for the
same reasons as syntax for repr() was.
More information about the Python-ideas
mailing list