Open
Description
The kernel
function currently silently ignores Python exceptions and assertions.
- The raise statement
- The assert statement
It is the correct behavior as a kernel cannot have exception and assertion errors raised during execution. Thus, a proper user experience will be to raise an exception during lowering of a kernel if the kernel has either a raise
or an assert
.