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 Raphaël Riel
Recipients Raphaël Riel, ezio.melotti, mrabarnett, tim.peters
Date 2017-10-11.19:49:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507751365.23.0.213398074469.issue31759@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks Tim! Pretty nice answer that I can learn from! Thanks for your time.

I definitely knew my Regex was broken, yet I was surprised the interpreter/library didn't gave up/error after some(several million) steps.

Some other language seems to just assume there will be no match (Source: some play on https://regex101.com/), and I don't think this is a valid approach.

Should there be a WARNing logged on a defined soft-limit?

I know this is low-level "re" library, and your point is pretty valid about the fact the lib should be doing what it's told to do. 
I was mostly looking for opinion about WARNs on soft limits and maybe errors on a hard-limit to debug/avoid this kind of false-hang situation.

Feel free to close/wont-fix/not-a-bug this issue! And thanks again for your kind answer to my initial issue!
History
Date User Action Args
2017-10-11 19:49:25Raphaël Rielsetrecipients: + Raphaël Riel, tim.peters, ezio.melotti, mrabarnett
2017-10-11 19:49:25Raphaël Rielsetmessageid: <1507751365.23.0.213398074469.issue31759@psf.upfronthosting.co.za>
2017-10-11 19:49:25Raphaël Riellinkissue31759 messages
2017-10-11 19:49:25Raphaël Rielcreate