[issue35319] pkgutil.get_data() is a wrapper for a deprecated class

Brett Cannon report at bugs.python.org
Tue Nov 27 18:43:17 EST 2018


Brett Cannon <brett at python.org> added the comment:

You can use importlib.resources to read data files and such from within a package as an alternative.

----------
nosy: +brett.cannon

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


More information about the Python-bugs-list mailing list