New submission from Filipe Laíns <la...@riseup.net>: ResourceReader used to have this requirement, Traversable does not. We cannot add a requirement as there might be users not doing this, but we can ask new users to do so.
We should document that FileNotFoundError should be raised if a file is not found, but that it is not guaranteed that it will for all Traversable implementations for compatibility reasons. ---------- assignee: docs@python components: Documentation messages: 394055 nosy: FFY00, brett.cannon, docs@python, jaraco priority: normal severity: normal status: open title: Document that importlib.abc.Traversable's methods should raise FileNotFoundError versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44196> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com