Sorry, still one thing not very clear about this...
To handle complex expressions(calling eval
for now? Also, expressions like Module.T
which refers to things defined in another module…
Ok I will add module globals support on top of the current constant support
I think here we are handling default parameters in nac3core so we do not really know the id(numpy.int64)
?
In type inference module we also do things using strings matches…
Can we just remove anything that has to do with
ForwardRef
for now, and deal with the forward type annotation situation later? M-Labs/nac3#73
Ok, I will do that…
Should we close this PR?
Yes, this PR can be closed.
@ychenfo can you keep breaking down the remaining changes into separate PRs, and then delete the
range_with_class
branch?
Sure,…
Regarding
_eval_type
:
- It is a private API which may be changed across Python versions. Are there alternatives to this?
Yes I also have some conern about this when writing the code. I…
LGTM, but we should probably add tests to nac3artiq/nac3standalone later.
Yes, some demo python files related to this will be added later.