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 serhiy.storchaka
Recipients BreamoreBoy, ezio.melotti, malin, serhiy.storchaka, vstinner
Date 2014-07-12.11:20:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405164002.04.0.786109192578.issue21084@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, this is very similar to issue13153. Both these issues can have same solution or can have different solutions. This issue relates to more realistic situation and therefore is more important.

Here is simple and almost working solution for this issue. Unfortunately it works incorrectly when astral characters are encountered in raw string literals. More mature solution should parse sources and convert raw string literals containing astral characters to non-raw string literals. But this will not work with invalid Python files and non-Python files.

I afraid this issue has not perfect solution. The question is which imperfect solution and compromise we will decided enough acceptable.
History
Date User Action Args
2014-07-12 11:20:02serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ezio.melotti, BreamoreBoy, malin
2014-07-12 11:20:02serhiy.storchakasetmessageid: <1405164002.04.0.786109192578.issue21084@psf.upfronthosting.co.za>
2014-07-12 11:20:01serhiy.storchakalinkissue21084 messages
2014-07-12 11:20:01serhiy.storchakacreate