python / importlib_resources

Backport of the importlib.resources module
Apache License 2.0
64 stars 44 forks source link

Make functional module private #305

Closed jaraco closed 4 months ago

jaraco commented 7 months ago

Should this module be private or should importing from importlib_resources.functional be allowed?

_Originally posted by @layday in https://github.com/python/importlib_resources/pull/303#discussion_r1534636317_

FFY00 commented 4 months ago

I don't think it should be allowed, that's more exposed API without a real need IMO.

layday commented 4 months ago

This appears to have already been done in the stdlib BTW: https://github.com/python/cpython/blob/main/Lib/importlib/resources/_functional.py. I don't know if any other differences exist.