Anki/pylib
David Culley c0349ea9da
Improve exception handling (#3290)
* fix: except only non-system-exiting exceptions

see https://youtu.be/zrVfY9SuO64

* chore: add myself to CONTRIBUTORS file

* refactor: explicitly specify possible exceptions

If an exception is not an Exception, there are only three options left.
see https://docs.python.org/3/library/exceptions.html#exception-hierarchy

* refactor: use BaseException for fallback

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>

* chore: add myself to contributors
2024-08-04 20:51:13 +07:00
..
anki Improve exception handling (#3290) 2024-08-04 20:51:13 +07:00
rsbridge Drop workspace-hack in favor of workspace deps 2023-06-23 17:41:31 +10:00
tests Improve exception handling (#3290) 2024-08-04 20:51:13 +07:00
tools Improve exception handling (#3290) 2024-08-04 20:51:13 +07:00
.gitignore symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00

Anki's Python library code is in anki/.

The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.