Issue 1707607: raw text can't end with backslash (original) (raw)

Issue1707607

Created on 2007-04-25 18:04 by korka, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg31888 - (view) Author: lomm (korka) Date: 2007-04-25 18:04
somehow the interpreter thinks it's an escape for the last quote print r'abc\' File "", line 1 print 'abc\' ^ SyntaxError: EOL while scanning single-quoted string
msg31889 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-04-25 19:36
This is a tokenizer restriction and not considered a bug. Closing as "won't fix".
History
Date User Action Args
2022-04-11 14:56:24 admin set github: 44898
2007-04-25 18:04:56 korka create