Bugs item #1707607, was opened at 2007-04-25 18:04
Message generated for change (Comment added) made by gbrandl
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: Closed
>Resolution: Wont Fix
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



----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2007-04-25 19:36

Message:
Logged In: YES 
user_id=849994
Originator: NO

This is a tokenizer restriction and not considered a bug. Closing as
"won't fix".

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1707607&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to