[Python-Dev] Python 3.x and bytes

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jun 13 00:12:11 CEST 2011


Guido van Rossum wrote:

>> On Thu, May 19, 2011 at 1:43 AM, Nick Coghlan wrote:
>>
>>> Proposals to address this include:
>>> - introduce a "character" literal to allow c'a' as an alternative to 
>>> ord('a')
>
> -1; the result is not a *character* but an integer.

Would you be happier if it were spelled i'a' instead?

-- 
Greg


More information about the Python-Dev mailing list