cpython/Lib/lib2to3
Miss Islington (bot) c1b8eb8006 bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (GH-4977) (#4979)
This is more complicated than it should be because we need to preserve the
useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar
has. We only look for the pickled grammar file with pkgutil.get_data and only if
the source file does not exist.
(cherry picked from commit 8a5877165e)
2017-12-22 12:51:46 -08:00
..
fixes bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a 'trailer', e.g. zip()[x] (GH-24) (GH-2235) 2017-06-15 19:56:52 -07:00
pgen2 bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (GH-4977) (#4979) 2017-12-22 12:51:46 -08:00
tests bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (GH-4977) (#4979) 2017-12-22 12:51:46 -08:00
__init__.py Merged revisions 61596-61597 via svnmerge from 2008-03-19 05:04:44 +00:00
__main__.py Merged revisions 88535 via svnmerge from 2011-02-24 01:41:46 +00:00
btm_matcher.py Merged revisions 85510 via svnmerge from 2010-10-14 23:03:32 +00:00
btm_utils.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
fixer_base.py rm unused import 2016-12-05 22:30:55 -08:00
fixer_util.py Removed unused imports. 2016-04-25 00:12:32 +03:00
Grammar.txt Issue #28394: Merge typo fixes from 3.5 into 3.6 2016-10-10 00:28:38 +00:00
main.py Issue #22173: Update lib2to3 tests to use unittest test discovery. 2014-10-29 12:24:59 -05:00
patcomp.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
PatternGrammar.txt Merged revisions 61596-61597 via svnmerge from 2008-03-19 05:04:44 +00:00
pygram.py bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (GH-4977) (#4979) 2017-12-22 12:51:46 -08:00
pytree.py Issue #21408: The default __ne__() now returns NotImplemented if __eq__() 2015-01-26 09:57:07 +02:00
refactor.py Remove legacy "from __future__ import with_statement" lines. 2016-09-08 13:47:41 -07:00