Ma Lin <[email protected]> added the comment:
Octal escape:
\ooo Character with octal value ooo
As in Standard C, up to three octal digits are accepted.
It only accepts UCS1 characters (ooo <= 0o377):
>>> ord('\377')
255
>>> len('\378')
2
>>> '\378' == '\37' + '8'
True
IMHO this is not useful, and creates confusions.
Maybe it can be deprecated in language level.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38582>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com