larryhastings / co_annotations

Other
9 stars 5 forks source link

Figure out stackdepth too small in compiler and fix root cause #15

Open carljm opened 2 years ago

carljm commented 2 years ago

63b415c3607af8ba9263b179fb05bb89ccd2e036 papers over the issue, but we should figure out why it's too small in the first place and fix the root cause.

So far I haven't been able to find a repro case, not sure where the checker.py mentioned in the commit message comes from; there's no checker.py in the CPython repo.

carljm commented 2 years ago

With 63b415c3607af8ba9263b179fb05bb89ccd2e036 reverted, ./python -m compileall Lib/ succeeds, so it doesn't appear that there is any file in the stdlib that exposes this problem.