cpython/Lib/lib2to3/pgen2
Benjamin Peterson 8a5877165e
bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (#4977)
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.
2017-12-22 12:18:33 -08:00
..
__init__.py
conv.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
driver.py bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (#4977) 2017-12-22 12:18:33 -08:00
grammar.py bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (#4977) 2017-12-22 12:18:33 -08:00
literals.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
parse.py
pgen.py lib2to3.pgen3.driver.load_grammar() now creates a stable cache file 2016-09-08 00:40:07 +00:00
token.py bpo-30406: Make async and await proper keywords (#1669) 2017-10-05 23:24:46 -04:00
tokenize.py bpo-30406: Make async and await proper keywords (#1669) 2017-10-05 23:24:46 -04:00