New submission from STINNER Victor: Attached patch replaces the imp module with importlib in Tools/i18n/pygettext.py.
Please review carefully, it looks like the code getting the filename of a Python module is not tested by Lib/test/test_tools.py :-/ ---------- files: pygettext_imp.patch keywords: patch messages: 262420 nosy: brett.cannon, eric.snow, haypo, ncoghlan priority: normal severity: normal status: open title: Tools/i18n/pygettext.py: replace deprecated imp module with importlib versions: Python 3.6 Added file: http://bugs.python.org/file42286/pygettext_imp.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26639> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com