mirror of
https://github.com/python/cpython.git
synced 2026-03-06 04:50:58 +00:00
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
|
||
|---|---|---|
| .. | ||
| data | ||
| __init__.py | ||
| __main__.py | ||
| pytree_idempotency.py | ||
| support.py | ||
| test_all_fixers.py | ||
| test_fixers.py | ||
| test_main.py | ||
| test_parser.py | ||
| test_pytree.py | ||
| test_refactor.py | ||
| test_util.py | ||