[issue23894] lib2to3 doesn't recognize rb'...' as a raw byte string in Python 3
Serhiy Storchaka
report at bugs.python.org
Fri Apr 10 20:23:46 CEST 2015
Serhiy Storchaka added the comment:
Should it?
>>> rb'abc'
File "<stdin>", line 1
rb'abc'
^
SyntaxError: invalid syntax
According to https://docs.python.org/2/reference/lexical_analysis.html#string-literals "rb" is not valid string prefix.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23894>
_______________________________________
More information about the Python-bugs-list
mailing list