[New-bugs-announce] [issue37675] 2to3 doesn't work when run from a zipfile

Benjamin Peterson report at bugs.python.org
Wed Jul 24 19:15:13 EDT 2019


New submission from Benjamin Peterson <benjamin at python.org>:

get_all_fix_names does listdir() to find fixers. That breaks if the standard library is in a zipfile. It shouldn't be hard to replace this with pkgutil.iter_modules.

----------
assignee: benjamin.peterson
components: 2to3 (2.x to 3.x conversion tool)
messages: 348413
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: 2to3 doesn't work when run from a zipfile
versions: Python 2.7, Python 3.7, Python 3.8, Python 3.9

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


More information about the New-bugs-announce mailing list