[New-bugs-announce] [issue32407] lib2to3 doesn't work when zipped

Benjamin Peterson report at bugs.python.org
Fri Dec 22 00:49:46 EST 2017


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

2to3 pokes around on the file system to find the grammar files it needs in source or pickled form. This makes it not work if lib2to3 is running from a zip file. lib2to3 should use pkgutil.get_data() instead to load grammar files.

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 308923
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: lib2to3 doesn't work when zipped
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8

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


More information about the New-bugs-announce mailing list