This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cfgbd
Recipients cfgbd
Date 2016-09-03.02:47:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472870874.89.0.189618974966.issue27947@psf.upfronthosting.co.za>
In-reply-to
Content
In python shell, I typed words and got result as follows. It seems that the use of 'r' before a literal string may cause an error that the an odd '\' at the end of literal string blocked the quote.

>>> rb'abc\\\'
SyntaxError: EOL while scanning string literal
>>> rb'abc\\'
b'abc\\\\'
>>> br'abc\\\ '
b'abc\\\\\\ '
>>> br'abc\\\'
SyntaxError: EOL while scanning string literal
>>> r'\\'
'\\\\'
>>> r'\\\'
SyntaxError: EOL while scanning string literal
History
Date User Action Args
2016-09-03 02:47:55cfgbdsetrecipients: + cfgbd
2016-09-03 02:47:54cfgbdsetmessageid: <1472870874.89.0.189618974966.issue27947@psf.upfronthosting.co.za>
2016-09-03 02:47:54cfgbdlinkissue27947 messages
2016-09-03 02:47:53cfgbdcreate