Repository navigation
New Features
- Optional Python tracebacks in errors:
PyRunner::new().with_tracebacks(true)reports aPyRunnerError::PyErrorthe way Python prints an uncaught error, including the traceback and chained exceptions (raise ... from ...). Disabled by default. - Tracebacks from
run_filepoint to the script's real file name and line instead of<string>.
Behavior Changes
PyRunnerError::PyErroris now displayed without debug quoting/escaping, so multi-line messages are readable.- By default, Python errors are reported as
Type: message(e.g.ValueError: bad input) on both backends. RustPython no longer prefixes errors withCannot apply cmd ...and no longer includes the traceback unlesswith_tracebacks(true)is set. - RustPython no longer prints errors to stdout.
Documentation
- New "Python errors" section in the README.
What's Changed
Full Changelog: v0.4.1...v0.4.2
What's Changed
Full Changelog: v0.4.1...v0.4.2