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
KevinNorrismannequin opened this issue
Nov 26, 2018
· 2 comments
Labels
3.7 (EOL)end of life3.8only security fixesdocsDocumentation in the Doc dirstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error
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:
assignee=Noneclosed_at=Nonecreated_at=<Date2018-11-26.19:15:58.253>labels= ['3.7', '3.8', 'type-bug', 'library', 'docs']
title='pkgutil.get_data() is a wrapper for a deprecated class'updated_at=<Date2018-11-27.23:43:17.777>user='https://bugs.python.org/KevinNorris'
pkgutil.get_data()'s documentation1 says it is a wrapper for importlib.abc.ResourceLoader.get_data(), but the latter's documentation2 says the whole class is deprecated since 3.7.
Please either:
A. Formally deprecate pkgutil.get_data() (and ideally provide a "nice" alternative wrapper, so that I don't have to muck about with importlib's endless heterarchy of opaque objects which return other opaque objects).
B. Modify pkgutil.get_data() to use ResourceReader instead of ResourceLoader.
C. (A) or (B) has already been done, just document it.
3.7 (EOL)end of life3.8only security fixesdocsDocumentation in the Doc dirstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error
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: