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 gvanrossum
Recipients gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka
Date 2020-04-11.15:13:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJJhV7WDbdUkrq-PYuzjdYKy4XEs2Xwit1wv_DZvdd=SVw@mail.gmail.com>
In-reply-to <1586605586.68.0.782490466179.issue40246@roundup.psfhosted.org>
Content
yes

On Sat, Apr 11, 2020 at 04:46 Lysandros Nikolaou <report@bugs.python.org>
wrote:

>
> Lysandros Nikolaou <lisandrosnik@gmail.com> added the comment:
>
> I have working code that checks if there is a quotation mark right after
> an identifier. Here is an example:
>
> ╰─ ./python
> Python 3.9.0a5+ (heads/pegen-dirty:502dfb719e, Apr 11 2020, 14:43:12)
> [GCC 9.2.1 20191008] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> ur''
>   File "<stdin>", line 1
>     ur''
>      ^
> SyntaxError: invalid string prefix
>
> One observation about this is that it has precedence over an EOL error:
>
> >>> ur'
>   File "<stdin>", line 1
>     ur'
>      ^
> SyntaxError: invalid string prefix
>
> Would that be acceptable?
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue40246>
> _______________________________________
>
-- 
--Guido (mobile)
History
Date User Action Args
2020-04-11 15:13:24gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, lys.nikolaou, pablogsal
2020-04-11 15:13:24gvanrossumlinkissue40246 messages
2020-04-11 15:13:24gvanrossumcreate