[issue23894] lib2to3 doesn't recognize rb'...' as a raw byte string in Python 3

2015-12-22 Thread Joseph Gordon
Joseph Gordon added the comment: With the changes in the uploaded patch it looks like strings of the form rb'...' are now recognized as raw byte strings. -- keywords: +patch Added file: http://bugs.python.org/file41382/issue23894.patch ___ Python tra

[issue23894] lib2to3 doesn't recognize rb'...' as a raw byte string in Python 3

2015-12-13 Thread Joseph Gordon
Changes by Joseph Gordon : -- nosy: +josephgordon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue23894] lib2to3 doesn't recognize rb'...' as a raw byte string in Python 3

2015-04-09 Thread Joshua Bronson
Changes by Joshua Bronson : -- nosy: +jab ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue23894] lib2to3 doesn't recognize rb'...' as a raw byte string in Python 3

2015-04-09 Thread Eli Bendersky
Changes by Eli Bendersky : -- stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue23894] lib2to3 doesn't recognize rb'...' as a raw byte string in Python 3

2015-04-09 Thread Eli Bendersky
New submission from Eli Bendersky: lib2to3 tokenizes br'abc' as a single STRING token, but rb'abc' as two separate tokens (NAME "rb" and STRING 'abc') This is because pgen2/tokenize.py doesn't list rb'' as a viable prefix for a string, even though according to https://docs.python.org/3/refere