Message299805
| Author |
jkloth |
| Recipients |
Wheerd, benjamin.peterson, brett.cannon, jkloth, ncoghlan, paul.moore, pitrou, scoder, serhiy.storchaka, steve.dower, terry.reedy, tim.golden, yselivanov, zach.ware |
| Date |
2017年08月06日.17:27:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1502040445.69.0.770902351604.issue31113@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Using master to debug, the (first) offending part of the generated file is the get_match_iter() function. The problem is not that there is too much nesting, rather it is simply the fact of too many if's period.
Simple testing at the command prompt (using master debug build) reveals the limit for just ifs is around 25000 (on Windows x64). The actual limit is going to depend on the stack usage (debug/release/version of the C runtime).
To verify:
exec('if a: b = 1\n' * 25150)
causes exceptions on my box. The precise limit will vary somewhat. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年08月06日 17:27:25 | jkloth | set | recipients:
+ jkloth, brett.cannon, terry.reedy, paul.moore, ncoghlan, pitrou, scoder, tim.golden, benjamin.peterson, zach.ware, serhiy.storchaka, yselivanov, steve.dower, Wheerd |
| 2017年08月06日 17:27:25 | jkloth | set | messageid: <1502040445.69.0.770902351604.issue31113@psf.upfronthosting.co.za> |
| 2017年08月06日 17:27:25 | jkloth | link | issue31113 messages |
| 2017年08月06日 17:27:25 | jkloth | create |
|