]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Update pygettext.py to get ride of imp
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 12 Apr 2016 16:46:10 +0000 (18:46 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 12 Apr 2016 16:46:10 +0000 (18:46 +0200)
commit328cb1fed0c91f50f311cdc545fe0e9303d0dae7
tree4ad4190291a6e67b520659e0aa1c6136a2b2ab68
parenta07614aa3156810a88404ad49b18ba7be9866f11
Update pygettext.py to get ride of imp

Issue #26639: Replace imp with importlib in Tools/i18n/pygettext.py.

Remove _get_modpkg_path(), replaced with importlib.util.find_spec().
Tools/i18n/pygettext.py