Skip to content
Update Python subset for kernels authored by Leon Riesebos's avatar Leon Riesebos
......@@ -16,6 +16,7 @@ The kernel code supports a subset of the *Python 3.5* language. This section hig
1. Kernel functions with dynamic arguments using `*args` and `**kwargs` are not supported.
1. `if` clauses in list comprehensions are not supported.
1. `with` statements are supported, but not in combination with `as`.
1. Since ARTIQ 7, raised exceptions can only have messages that are string literals (no f-strings). See [this ARTIQ commit](https://github.com/m-labs/artiq/commit/93328ad8ee6e29ccca65e28e3a6c9708da339e25).
**Supported**
......
......