New submission from Benjamin Peterson <benja...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37675>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to