-
Notifications
You must be signed in to change notification settings - Fork 170
Some CPython tests fail in integration_tests with conda-forge lpython #1826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think using
|
On making $ python integration_tests/test_01_goto.py
Traceback (most recent call last):
File "/Users/ubaid/Desktop/OpenSource/lpython/integration_tests/test_01_goto.py", line 35, in <module>
test_goto()
File "/Users/ubaid/Desktop/OpenSource/lpython/integration_tests/test_01_goto.py", line 29, in test_goto
print(f())
^^^
File "/Users/ubaid/Desktop/OpenSource/lpython/integration_tests/test_01_goto.py", line 8, in f
goto .end
^^^^
NameError: name 'goto' is not defined |
It seems that |
The goto's implementation has always been a hack, because it depends on internals of Python. I think we should remove it, because it's impossible to implement without hacking the byte code, which is not a "public" API. |
The other error:
seems to be caused by the following initialization, removing it yields the output: lpython/integration_tests/structs_04.py Line 12 in 6c917f0
Also see: https://stackoverflow.com/a/53633297 |
See #1825 for setup. These fail:
The actual failures are:
Here probably python3.11 is used. => must make the decorator more robust
goto does not work somehow.
and:
and
and
Some issue in a dataclass.
The text was updated successfully, but these errors were encountered: