You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-24960: Can't use lib2to3 with embeddable zip file.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-12-22.13:54:56.584>created_at=<Date2017-12-22.05:49:45.848>labels= ['3.7', '3.8', 'type-bug', 'expert-2to3']
title="lib2to3 doesn't work when zipped"updated_at=<Date2017-12-22.16:33:44.944>user='https://github.com/benjaminp'
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.
Activity
benjaminp commentedon Dec 22, 2017
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.
bitdancer commentedon Dec 22, 2017
Duplicate of bpo-24960.
bitdancer commentedon Dec 22, 2017
Funny, you are already nosy on that issue. Does this one have a different goal, or did you just forget about that one?
benjaminp commentedon Dec 22, 2017
I tend to get nosied on all 2to3 issues, but I only just started caring about this one. :)
Thanks for finding the prior art.