[issue44196] Document that importlib.abc.Traversable's methods should raise FileNotFoundError

Jason R. Coombs report at bugs.python.org
Sun May 23 09:41:49 EDT 2021


Jason R. Coombs <jaraco at jaraco.com> added the comment:

After reviewing the PR, I'm not convinced the Traversable methods need any specification about when to raise FileNotFoundError (or other exceptions). Let's flesh out what conditions demand prescribed interfaces.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44196>
_______________________________________


More information about the Python-bugs-list mailing list