Matthew Barnett <[email protected]> added the comment:
Octal escapes are at most 3 octal digits, so the normal way to handle "\41" +
"1" is "\0411".
Some languages support variable-length hex escapes of the form "\x{1B}", so we
could add that and also "\o{41}" for octal.
BTW, in some languages "\e" is "\x1B".
----------
nosy: +mrabarnett
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8465>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com