I agree that we should handle these kinds of exceptions to match python3, but how relevant is it that the lir and cps reference implementations choke on these non-raised exceptions? Is this a {lir,cps}-header.rkt issue and not an emitted code issue?
Is the interpreted program responsible to catch exceptions that the interpreter throws? Because the header tries to divide the lambda by 1, then chokes. How can our emitted code handle the interpreter's exception?
Please correct me if I am thinking about this wrong.