This project is archived. Its data is read-only.

Learner.load does not raise an exception if the provided filename was not found

The default implementation is:

with suppress(FileNotFoundError, EOFError):
    data = load(fname, compress)
    self._set_data(data)

This means that if 'fname' does not exist this method silently fails. IMO it is the caller's responsibility to catch any errors.

Assignee Loading
Time tracking Loading