[New-bugs-announce] [issue26639] Tools/i18n/pygettext.py: replace deprecated imp module with importlib

STINNER Victor report at bugs.python.org
Fri Mar 25 06:50:05 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue26639>
_______________________________________


More information about the New-bugs-announce mailing list