[issue35570] 2to3 creates code using deprecated imp module

Karthikeyan Singaravelan report at bugs.python.org
Sun Dec 23 15:49:03 EST 2018


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

Seems this came up when the original version of fixer was added as noted in https://bugs.python.org/issue11797#msg206884 . Looking further this seems to be similar to https://bugs.python.org/issue21446 where it was fixed in 3.7 and master to use importlib.reload . Since 3.6 is having it's last bug fix release I am not sure of the backport. Adding benjamin.peterson to the issue .

----------
nosy: +benjamin.peterson, xtreak

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


More information about the Python-bugs-list mailing list