-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add functional API #303
Add functional API #303
Conversation
“Collateral” tests fail with:
These are top-level statements (mostly |
The diffcov tests can be ignored. I've opened #304 to track. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this module be private or should importing from importlib_resources.functional
be allowed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I don't recall if it was public before.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Private is probably better.
This adds functional API, proposed for CPython here: python/cpython#116608
I tested locally using
tox
, which probably doesn't match the CI checks.