You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
errors should be supported by Traversable.open and is currently supported in importlib.resources.open_text, but Traversable.read_text cannot do it, making it an unsuitable replacement for open_text.
It would be straightforward to add that parameter to read_text but I'm uncertain if it will be needed. Since a Traversable already provides an open method which does explicitly pass through keyword arguments to the underlying opener, perhaps it would be best to direct users to that interface if errors is needed and save supporting that parameter for read_text unless a user experience demands it. WDYT?
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: