Drew Risinger
Drew Risinger
@dbanty that's a good point, thanks. I'll give that a shot.
Trying to build this package for Nix (python3.7). C++ compilation fails. See reproducible build at https://github.com/NixOS/nixpkgs/pull/78868 Looks like this C++ file has gotten out of date with the underlying CPython...
NOTE: Fixed this issue by removing the .cpp file. Will submit a PR requesting that to be removed. Proper format is to cythonize the .pyx file at setup time, which...
@jordens the point is that the compiler can't recognize any sort of prefix, so even with your suggestion, the ARTIQ compiler would throw an error. However, I haven't tested it...
Side note: when this is fixed, should change documentation to remove all examples of `from artiq.experiment import *` because it's bad practice.
@sbourdeauducq https://stackoverflow.com/a/2386740 In short, my biggest 2 problems are: * hard to manually trace code and figure out where a particular function/class came from * Albeit, less of a problem...
> That can be fixed quite easily, I just forgot about `import as` when implementing decorator support in the compiler. @whitequark note that it fails with `import artiq.language.core; @artiq.language.core.kernel`, as...
ping. out of my expertise.
ping @whitequark
Thanks @pca006132, I honestly got to the point where I forgot about this b/c I was just doing ``from artiq.language.core import kernel``, which feels like a reasonable compromise.