Message304177
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! |
|
| Date |
User |
Action |
Args |
| 2017-10-11 19:49:25 | Raphaël Riel | set | recipients:
+ Raphaël Riel, tim.peters, ezio.melotti, mrabarnett |
| 2017-10-11 19:49:25 | Raphaël Riel | set | messageid: <1507751365.23.0.213398074469.issue31759@psf.upfronthosting.co.za> |
| 2017-10-11 19:49:25 | Raphaël Riel | link | issue31759 messages |
| 2017-10-11 19:49:25 | Raphaël Riel | create | |
|