[issue21446] Update reload fixer to use importlib instead of imp

Berker Peksag report at bugs.python.org
Tue May 6 11:51:40 CEST 2014


New submission from Berker Peksag:

Since imp.reload() was deprecated in issue 18193, the reload fixer (added in issue 11797) needs to be updated to use importlib.reload() instead of imp.reload().

----------
components: 2to3 (2.x to 3.x conversion tool)
files: reload-fixer.diff
keywords: patch
messages: 217973
nosy: benjamin.peterson, berker.peksag, brett.cannon
priority: normal
severity: normal
stage: patch review
status: open
title: Update reload fixer to use importlib instead of imp
versions: Python 3.5
Added file: http://bugs.python.org/file35161/reload-fixer.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21446>
_______________________________________


More information about the Python-bugs-list mailing list