[issue28424] pkgutil.get_data() doesn't work with namespace packages

Brett Cannon report at bugs.python.org
Fri Oct 14 16:00:31 EDT 2016


Brett Cannon added the comment:

Xiang is right about why this doesn't work. If you would like to propose a patch to update the wording of the docs, Douglas, we could then consider applying it. It could be as simple as just adding "(e.g. the load for namespace packages does not implement get_data())".

And there is no equivalent feature in importlib (yet; it's on my todo list).

----------
assignee:  -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28424>
_______________________________________


More information about the Python-bugs-list mailing list