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 QuantumTim
Recipients QuantumTim
Date 2007-10-12.12:52:36
SpamBayes Score 0.07225517
Marked as misclassified No
Message-id <1192193557.25.0.892687713719.issue1271@psf.upfronthosting.co.za>
In-reply-to
Content
If you have a raw string with a backslash as the last character, the 
parser thinks the following quote, actually used to mark the end of the 
string, is being quoted by the backslash.  For example, r'\' should be 
the string with one backslash, but...

>>> print r'\'
SyntaxError: EOL while scanning single-quoted string

There seems to have been a fix added to python 3.0 (see issue 1720390), 
but it doesn't look like it's been backtracked into any earlier version.
History
Date User Action Args
2007-10-12 12:52:37QuantumTimsetspambayes_score: 0.0722552 -> 0.07225517
recipients: + QuantumTim
2007-10-12 12:52:37QuantumTimsetspambayes_score: 0.0722552 -> 0.0722552
messageid: <1192193557.25.0.892687713719.issue1271@psf.upfronthosting.co.za>
2007-10-12 12:52:37QuantumTimlinkissue1271 messages
2007-10-12 12:52:36QuantumTimcreate