trueagi-io / hyperon-experimental

MeTTa programming language implementation
https://metta-lang.dev
MIT License
133 stars 44 forks source link

Propagating python errors in loader through to MeTTa #734

Closed luketpeterson closed 1 month ago

luketpeterson commented 1 month ago

The test_error_pyext test in the test_extend.py was aborting due to an (intentional) uncaught exception from Python.

This PR fixes it by implementing the missing error pathway from C loader function, and then using that pathway in hyperonpy