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 The Compiler
Recipients The Compiler, effbot, ezio.melotti, mrabarnett, pitrou, serhiy.storchaka
Date 2015-11-04.10:26:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446632785.3.0.590011180655.issue25550@psf.upfronthosting.co.za>
In-reply-to
Content
I see how it's not possible to compile that pattern as it's using recursion - I don't mind that.

However, I think this should be handled and re-raised as a re.error ("Exception raised [...] when some other error occurs during compilation or matching.").

I think no matter what the pattern is, it's quite unexpected to get anything other than a re.error (or a TypeError) from re.compile.
History
Date User Action Args
2015-11-04 10:26:25The Compilersetrecipients: + The Compiler, effbot, pitrou, ezio.melotti, mrabarnett, serhiy.storchaka
2015-11-04 10:26:25The Compilersetmessageid: <1446632785.3.0.590011180655.issue25550@psf.upfronthosting.co.za>
2015-11-04 10:26:25The Compilerlinkissue25550 messages
2015-11-04 10:26:25The Compilercreate