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-10.22:56:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586559373.61.0.680571181381.issue40246@roundup.psfhosted.org>
In-reply-to
Content
So a slightly shorter example uses ru''. This is an error because you can't combine the r prefix and the u prefix (in fact you can't combine anything with the r prefix).

I declare that this is a bug to report EOF here and the code should *first* check for a valid combination (e.g. fr'' or rf'') and only *then* try to distinguish between single and triple quotes.
History
Date User Action Args
2020-04-10 22:56:13gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, lys.nikolaou, pablogsal
2020-04-10 22:56:13gvanrossumsetmessageid: <1586559373.61.0.680571181381.issue40246@roundup.psfhosted.org>
2020-04-10 22:56:13gvanrossumlinkissue40246 messages
2020-04-10 22:56:13gvanrossumcreate