[ python-Bugs-1707607 ] raw text can't end with backslash
SourceForge.net
noreply at sourceforge.net
Wed Apr 25 20:04:56 CEST 2007
Bugs item #1707607, was opened at 2007-04-25 18:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1707607&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: lomm (korka)
Assigned to: Nobody/Anonymous (nobody)
Summary: raw text can't end with backslash
Initial Comment:
somehow the interpreter thinks it's an escape for the last quote
print r'abc\'
File "<stdin>", line 1
print 'abc\'
^
SyntaxError: EOL while scanning single-quoted string
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1707607&group_id=5470
More information about the Python-bugs-list
mailing list