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

Reply via email to